From a980efc7f157bb490e64530d619d10a1fafbf922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vi=C5=A5as=20Str=C3=A1dal?= Date: Tue, 5 Sep 2017 09:05:36 +0200 Subject: [PATCH] routing += via post, get --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 312b87b..532780b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,4 @@ # Plugin's routes # See: http://guides.rubyonrails.org/routing.html -match 'loginRemoteUser', :to => 'account_remote_user#login_remote_user', :as => 'signinRemoteUser' +match 'loginRemoteUser', :to => 'account_remote_user#login_remote_user', :as => 'signinRemoteUser', via: [:get, :post]