spec/dummy/app/controllers/application_controller.rb in enju_subject-0.0.8 vs spec/dummy/app/controllers/application_controller.rb in enju_subject-0.0.9
- old
+ new
@@ -6,11 +6,11 @@
private
def render_403
return if performed?
if user_signed_in?
respond_to do |format|
- format.html {render :file => "#{Rails.root}/public/404.html", :status => 403}
+ format.html {render :file => "#{Rails.root}/public/404", :status => 403}
format.xml
format.json
end
else
respond_to do |format|
@@ -22,10 +22,10 @@
end
def render_404
return if performed?
respond_to do |format|
- format.html {render :file => "#{Rails.root}/public/404.html", :status => 404}
+ format.html {render :file => "#{Rails.root}/public/404", :status => 404}
format.xml
format.json
end
end