fix my welcome#index bug
This commit is contained in:
parent
9319a7f87b
commit
b617f3d42f
|
@ -1089,6 +1089,12 @@ module ApplicationHelper
|
||||||
url
|
url
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def is_logout?
|
||||||
|
ret = cookies[:login_flag] == 1 ? true : false
|
||||||
|
cookies.delete(:login_flag)
|
||||||
|
ret
|
||||||
|
end
|
||||||
|
|
||||||
def back_url_hidden_field_tag
|
def back_url_hidden_field_tag
|
||||||
url = back_url
|
url = back_url
|
||||||
hidden_field_tag('back_url', url, :id => nil) unless url.blank?
|
hidden_field_tag('back_url', url, :id => nil) unless url.blank?
|
||||||
|
|
Loading…
Reference in New Issue