relocate some functions
This commit is contained in:
parent
5b1a730e19
commit
2e0f7e9b42
4 changed files with 22 additions and 30 deletions
|
|
@ -15,14 +15,6 @@ module PathsHelper
|
|||
end
|
||||
end
|
||||
|
||||
def sign_in_path
|
||||
if ENV['OSEM_ICHAIN_ENABLED'] == 'true'
|
||||
new_user_ichain_session_path
|
||||
else
|
||||
new_user_session_path
|
||||
end
|
||||
end
|
||||
|
||||
def active_nav_li(link)
|
||||
if current_page?(link)
|
||||
return 'active'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue