relocate some functions

This commit is contained in:
hitman 2017-03-16 22:30:03 +05:30 committed by Stella Rouzi
parent 5b1a730e19
commit 2e0f7e9b42
4 changed files with 22 additions and 30 deletions

View file

@ -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'