Class: Rad::Face::Demo::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/face/demo/base.rb

Direct Known Subclasses

Commons, Dialogs, Helps, Sites

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#samplesObject (readonly)

Returns the value of attribute samples.



14
15
16
# File 'lib/face/demo/base.rb', line 14

def samples
  @samples
end

Instance Method Details

#select_menuObject



7
8
9
10
11
12
# File 'lib/face/demo/base.rb', line 7

def select_menu
  request.session['top_menu'] = params[:top_menu] if params[:top_menu]
  request.session['side_menu'] = params[:side_menu] if params[:side_menu]

  redirect_to :back
end