Class: DashboardController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- DashboardController
- Defined in:
- app/controllers/dashboard_controller.rb
Constant Summary
Constants included from ProjectsHelper
ProjectsHelper::CLASSIFIER, ProjectsHelper::CLASSIFIER_ANNOTATION
Instance Method Summary collapse
-
#index ⇒ Object
GET ‘/’.
Methods included from RedirectHelper
Methods included from RequestType
Methods included from LogRecent
Methods included from Cookies
#digest_cookie, #digested_cookie_exists?
Methods included from Whitelist
Methods included from ProjectsHelper
#cumulative_gb_per_year, #document_cumulative_gb_per_year, #document_gb_per_year, #gb_per_year, #image_cumulative_gb_per_year, #image_gb_per_year, #invalid_object, #project_classification, #project_link, #project_matches, #project_tag, #projects_list, #projects_search_form, #taxonworks_classification, #week_in_review_graphs
Methods included from Api::Intercept
Methods included from TokenAuthentication
#intercept_project, #intercept_user, #intercept_user_or_project, #project_token_authenticate, #token_authenticate
Instance Method Details
#index ⇒ Object
GET ‘/’
4 5 6 7 |
# File 'app/controllers/dashboard_controller.rb', line 4 def index redirect_to signin_path, status: 301 and return unless sessions_signed_in? @projects = sessions_current_user.projects.order(:name) end |