Use start.html.erb views instead of _sidebar.html.erb partials

This commit is contained in:
Tom Hughes 2012-08-27 21:18:07 +01:00
parent 07c997d1d2
commit 3d874a5d61
5 changed files with 2 additions and 4 deletions

View file

@ -1,5 +1,5 @@
class BrowseController < ApplicationController
layout 'site'
layout 'site', :except => [ :start ]
before_filter :authorize_web
before_filter :set_locale
@ -7,7 +7,6 @@ class BrowseController < ApplicationController
around_filter :web_timeout, :except => [:start]
def start
render :partial => "sidebar"
end
def relation

View file

@ -4,7 +4,6 @@ class ExportController < ApplicationController
before_filter :set_locale
def start
render :partial => "sidebar"
end
#When the user clicks 'Export' we redirect to a URL which generates the export download