Class: ThemeController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
lib/common_interface/app/controllers/theme_controller.rb

Direct Known Subclasses

ThemeSiteController

Instance Method Summary collapse

Instance Method Details

#helpObject



4
5
6
# File 'lib/common_interface/app/controllers/theme_controller.rb', line 4

def help
  render :action => 'help', :layout => false
end

#indexObject



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_menuObject



13
14
15
16
17
18
# File 'lib/common_interface/app/controllers/theme_controller.rb', line 13

def select_menu
  session[:top_menu] = params[:top_menu] if params[:top_menu]
  session[:side_menu] = params[:side_menu] if params[:side_menu]
  
  redirect_to :back
end