Class: DmCore::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- DmCore::ApplicationController
- Includes:
- AccountHelper, PermittedParams
- Defined in:
- app/controllers/dm_core/application_controller.rb
Overview
main ApplicationController will subclass from DmCore::ApplicationController
Instance Method Summary collapse
-
#index ⇒ Object
——————————————————————————.
Methods included from AccountHelper
#account_prefix, #account_protected_assets, #account_site_assets, #account_site_assets_media, #account_site_assets_media_url, #account_site_assets_url, #current_account
Methods included from PermittedParams
#account_params, #comment_params, #devise_sign_up_params, #user_params, #user_profile_direct_params, #user_profile_params
Instance Method Details
#index ⇒ Object
25 26 27 |
# File 'app/controllers/dm_core/application_controller.rb', line 25 def index redirect_to "/#{current_account.preferred_default_locale}/index", :status => :moved_permanently end |