Class: DmCore::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Includes:
AccountHelper, PermittedParams
Defined in:
app/controllers/dm_core/application_controller.rb

Overview

main ApplicationController will subclass from DmCore::ApplicationController


Instance Method Summary collapse

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

#indexObject




25
26
27
# File 'app/controllers/dm_core/application_controller.rb', line 25

def index
  redirect_to "/#{.preferred_default_locale}/index", :status => :moved_permanently
end