Class: Rad::Face::Demo::Base
- Inherits:
-
Object
- Object
- Rad::Face::Demo::Base
- Defined in:
- lib/face/demo/base.rb
Instance Attribute Summary collapse
-
#samples ⇒ Object
readonly
Returns the value of attribute samples.
Instance Method Summary collapse
Instance Attribute Details
#samples ⇒ Object (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_menu ⇒ Object
7 8 9 10 11 12 |
# File 'lib/face/demo/base.rb', line 7 def 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 |