Module: RootRedirect

Extended by:
ActiveSupport::Concern
Defined in:
app/controllers/concerns/root_redirect.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
# File 'app/controllers/concerns/root_redirect.rb', line 4

def index
  redirect_to ENV["MARKETING_SITE_URL"] || new_user_session_path
end