Use start.html.erb views instead of _sidebar.html.erb partials
This commit is contained in:
parent
07c997d1d2
commit
3d874a5d61
5 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue