Sha256: a35aca207c571b75147689da4af2fb2d44ec08b3492f1c1e7e824acf9655b5d1

Contents?: true

Size: 225 Bytes

Versions: 7

Compression:

Stored size: 225 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery

  # This tells Devise where to re-direct to after successful sign up or sign in
  def after_sign_in_path_for(user)
    user_path(user.id)
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
tft_rails_dbc-0.1.3 lib/generators/chapter07/begin/templates/app/controllers/application_controller.rb
tft_rails_dbc-0.1.1 lib/generators/chapter07/begin/templates/app/controllers/application_controller.rb
tft_rails_dbc-0.1 lib/generators/chapter07/begin/templates/app/controllers/application_controller.rb
tft_rails-0.6.2 lib/generators/chapter07/begin/templates/app/controllers/application_controller.rb
tft_rails-0.6.1 lib/generators/chapter07/begin/templates/app/controllers/application_controller.rb
tft_rails-0.6.0 lib/generators/chapter07/begin/templates/app/controllers/application_controller.rb
tft_rails-0.5.1 lib/generators/chapter07/begin/templates/app/controllers/application_controller.rb