Skip to content

Commit

Permalink
update portalname helper to use $SITE config variable
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Jun 1, 2023
1 parent e91d2d9 commit ceec0ae
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -616,17 +616,11 @@ def request_lang
end

def portal_name
name = $UI_THEME.to_s.capitalize
name.sub! 'portal' , 'Portal'
$SITE
end

def navitems
items = [["/ontologies", "Browse"],["/mappings", "Mappings"],["/recommender", "Recommender"],["/annotator", "Annotator"], ["/landscape", "Landscape"]]
end

end

def portal_name
name = $UI_THEME.to_s.capitalize
name.sub! 'portal' , 'Portal'
end

0 comments on commit ceec0ae

Please sign in to comment.