• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / tigerdata-app / 7593fed5-ddd2-4131-b3d3-90812144e9eb

17 Nov 2025 05:51PM UTC coverage: 51.662% (-39.7%) from 91.318%
7593fed5-ddd2-4131-b3d3-90812144e9eb

Pull #2208

circleci

leefaisonr
Indicate emdash for empty project purpose field for projects
Co-authored-by: Hector Correa <hectorcorrea@users.noreply.github.com>
Co-authored-by: Precilla Prempeh <precillap@users.noreply.github.com>
Pull Request #2208: Indicate emdash for empty project purpose field for projects

1787 of 3459 relevant lines covered (51.66%)

66.66 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/controllers/dashboard_controller.rb
1
# frozen_string_literal: true
2
class DashboardController < ApplicationController
×
3
  layout "welcome"
×
4

5
  def index
×
6
    @presenter = DashboardPresenter.new(current_user: current_user)
×
7

8
    session[:dashtab] ||= "project" # default the session tab to projects
×
9
    @dash_session = session[:dashtab]
×
10
    @session_id = current_user.mediaflux_session
×
11
    @emulation_role = session[:emulation_role] || "Not Emulating"
×
12
  end
×
13

14
  def emulate
×
15
    return if Rails.env.production?
×
16

17
    absolute_user = User.find(current_user.id)
×
18
    return unless absolute_user.trainer?
×
19

20
    if params.key?("emulation_menu")
×
21
      session[:emulation_role] = params[:emulation_menu]
×
22
    end
×
23
  end
×
24

25
  def dash_project
×
26
    if params.key?("dashtab")
×
27
      session[:dashtab] = params[:dashtab]
×
28
    end
×
29
  end
×
30

31
  def dash_admin
×
32
    if params.key?("dashtab")
×
33
      session[:dashtab] = params[:dashtab]
×
34
    end
×
35
  end
×
36
end
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc