Skip to content

Commit

Permalink
Merge pull request #4749 from chrisb/3-stable-ruby-2.5
Browse files Browse the repository at this point in the history
Backport Ruby 2.5.0 syntax fixes to 3-stable
  • Loading branch information
rafaelfranca authored Jan 9, 2018
2 parents a0af72e + 53957d9 commit bddf051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/devise/sessions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class Devise::SessionsController < DeviseController
prepend_before_filter :require_no_authentication, only: [:new, :create]
prepend_before_filter :allow_params_authentication!, only: :create
prepend_before_filter :verify_signed_out_user, only: :destroy
prepend_before_filter only: [:create, :destroy] { request.env["devise.skip_timeout"] = true }
prepend_before_filter(only: [:create, :destroy]) { request.env["devise.skip_timeout"] = true }

# GET /resource/sign_in
def new
Expand Down

0 comments on commit bddf051

Please sign in to comment.