Class: ThemeController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- ThemeController
- Defined in:
- lib/common_interface/app/controllers/theme_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#help ⇒ Object
4 5 6 |
# File 'lib/common_interface/app/controllers/theme_controller.rb', line 4 def help render :action => 'help', :layout => false end |
#index ⇒ Object
8 9 10 11 |
# File 'lib/common_interface/app/controllers/theme_controller.rb', line 8 def index @title = "Theme" render :index, :layout => false end |
#select_menu ⇒ Object
13 14 15 16 17 18 |
# File 'lib/common_interface/app/controllers/theme_controller.rb', line 13 def session[:top_menu] = params[:top_menu] if params[:top_menu] session[:side_menu] = params[:side_menu] if params[:side_menu] redirect_to :back end |