Class: SharkappsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- SharkappsController
- Defined in:
- lib/sharkapps/controllers/sharkapps_controller.rb
Instance Method Summary collapse
- #intro ⇒ Object
- #locale_selector ⇒ Object
-
#not_subscribed ⇒ Object
before_filter :set_locale, :except => [:intro, :terms].
Instance Method Details
#intro ⇒ Object
17 18 19 |
# File 'lib/sharkapps/controllers/sharkapps_controller.rb', line 17 def intro render :layout => false end |
#locale_selector ⇒ Object
10 11 12 13 14 15 |
# File 'lib/sharkapps/controllers/sharkapps_controller.rb', line 10 def locale_selector if request.post? #set the locale according to the form redirect_to "/dashboard" end end |
#not_subscribed ⇒ Object
before_filter :set_locale, :except => [:intro, :terms]
6 7 8 |
# File 'lib/sharkapps/controllers/sharkapps_controller.rb', line 6 def not_subscribed end |