diff --git a/init.rb b/init.rb index 3a91781..79701de 100644 --- a/init.rb +++ b/init.rb @@ -24,4 +24,4 @@ ActionDispatch::Callbacks.before do RedmineCAS.setup! end -end \ No newline at end of file +end diff --git a/lib/redmine_cas.rb b/lib/redmine_cas.rb index 801de0e..392a5ea 100644 --- a/lib/redmine_cas.rb +++ b/lib/redmine_cas.rb @@ -37,4 +37,4 @@ def user_extra_attributes_from_session(session) end attrs end -end \ No newline at end of file +end diff --git a/lib/redmine_cas/account_controller_patch.rb b/lib/redmine_cas/account_controller_patch.rb index 5146bdc..e6b32f0 100644 --- a/lib/redmine_cas/account_controller_patch.rb +++ b/lib/redmine_cas/account_controller_patch.rb @@ -17,4 +17,4 @@ def logout_with_cas end end end -end \ No newline at end of file +end diff --git a/lib/redmine_cas/application_controller_patch.rb b/lib/redmine_cas/application_controller_patch.rb index bc22f66..4ce8a0d 100644 --- a/lib/redmine_cas/application_controller_patch.rb +++ b/lib/redmine_cas/application_controller_patch.rb @@ -38,7 +38,7 @@ def login_with_cas else self.logged_user = user end - redirect_to url_for(params.merge(ticket: nil)) + redirect_to url_for(params.merge(:ticket => nil)) else # CASClient called redirect_to end @@ -53,4 +53,4 @@ def cas_user_not_found end end end -end \ No newline at end of file +end