Class: WelcomeController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- WelcomeController
- Defined in:
- app/controllers/welcome_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
#add_breadcrumb, #after_sign_in_path_for, #breadcrumbs, #new_session_path, #render_not_found, #require_admin_user
Instance Method Details
#help ⇒ Object
14 |
# File 'app/controllers/welcome_controller.rb', line 14 def help; end |
#index ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/controllers/welcome_controller.rb', line 6 def index if current_user.blank? render layout: "welcome" else redirect_to dashboard_path end end |