removes provisional transparency page

This commit is contained in:
Juanjo Bazán
2015-12-03 12:51:51 +01:00
parent d5fad7cf44
commit 349288b992
11 changed files with 9 additions and 57 deletions

View File

@@ -7,16 +7,12 @@ module ApplicationHelper
request.path == '/'
end
def transparency_page?
request.path == '/transparency'
end
def opendata_page?
request.path == '/opendata'
end
def header_css
home_page? || transparency_page? || opendata_page? ? '' : 'results'
home_page? || opendata_page? ? '' : 'results'
end
# if current path is /debates current_path_with_query_params(foo: 'bar') returns /debates?foo=bar