Class: SharkappsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
lib/sharkapps/controllers/sharkapps_controller.rb

Instance Method Summary collapse

Instance Method Details

#introObject



17
18
19
# File 'lib/sharkapps/controllers/sharkapps_controller.rb', line 17

def intro
  render :layout => false
end

#locale_selectorObject



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_subscribedObject

before_filter :set_locale, :except => [:intro, :terms]



6
7
8
# File 'lib/sharkapps/controllers/sharkapps_controller.rb', line 6

def not_subscribed
  
end