it did not display the no_site page

This commit is contained in:
did 2012-03-05 00:09:54 -08:00
parent fcf32f9d53
commit 1da5617b80
2 changed files with 4 additions and 4 deletions

View File

@ -109,8 +109,8 @@ x missing custom_fields
x belongs_to x belongs_to
x has_many x has_many
x many_to_many x many_to_many
- simplify cells integration when modifying a menu from the main app x simplify cells integration when modifying a menu from the main app
- heroku module for locomotive x heroku module for locomotive
- refactoring - refactoring
x remove the import / export scripts x remove the import / export scripts
x remove the cross domain authentication (use auth_token instead) x remove the cross domain authentication (use auth_token instead)
@ -162,7 +162,7 @@ REFACTORING:
BUGS: BUGS:
x mode author: settings KO + editable elements non visibles x mode author: settings KO + editable elements non visibles
x locales pour le locomotive editor => KO x locales pour le locomotive editor => KO
- impossible de sauvegarder une page ! impossible de sauvegarder une page
NICE TO HAVE: NICE TO HAVE:

View File

@ -37,7 +37,7 @@ module Locomotive
end end
def render_no_site_error def render_no_site_error
render :template => '/Locomotive/errors/no_site', :layout => false, :status => :not_found render :template => '/locomotive/errors/no_site', :layout => false, :status => :not_found
end end
def validate_site_membership def validate_site_membership