small fixed
This commit is contained in:
parent
fbe9a64aaa
commit
999e568a01
|
@ -22,6 +22,10 @@ class PseudoSessionController < ApplicationController
|
|||
end
|
||||
end
|
||||
|
||||
def member_login_path
|
||||
"/" + I18n.locale.to_s + Page.where(:module => "pseudo_member").first.url
|
||||
end
|
||||
|
||||
def destroy_pseudo_session
|
||||
session.delete(:current_pseudo_user_id)
|
||||
end
|
||||
|
|
|
@ -14,7 +14,7 @@ Rails.application.routes.draw do
|
|||
end
|
||||
scope "pseudo_users" do
|
||||
post "/loginpseudouser", to: "pseudo_members#loginuser"
|
||||
get "/logoutpseudouser", to: "pseudo_members#logoutuser"
|
||||
get "/logoutpseudouser", to: "pseudo_members#logoutuser", as: "member_logout"
|
||||
post "/register_pseudo_user", to: "pseudo_members#register_user", as: "register_pseudo_user"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue