and update rake
This commit is contained in:
Torsten Ruger 2016-08-26 00:16:28 +03:00
parent a43f854eb1
commit 831a9be850
3 changed files with 3 additions and 2 deletions

View File

@ -270,7 +270,7 @@ GEM
activesupport (= 4.2.6)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (11.1.2)
rake (11.2.2)
rb-fchange (0.0.6)
ffi
rb-fsevent (0.9.7)

View File

@ -1,4 +1,6 @@
class RegistrationsController < Devise::RegistrationsController
force_ssl
protected
def after_inactive_sign_up_path_for(resource)

View File

@ -97,6 +97,5 @@ Rails.application.configure do
config.active_record.dump_schema_after_migration = false
config.to_prepare { Devise::SessionsController.force_ssl }
config.to_prepare { Devise::RegistrationsController.force_ssl }
config.to_prepare { Devise::PasswordsController.force_ssl }
end