refractor code into different files
This commit is contained in:
parent
8320f78d0b
commit
5dece1ea48
4 changed files with 75 additions and 38 deletions
|
|
@ -15,6 +15,14 @@ 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