Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't need to reference the controller from itself.

  • Loading branch information...
commit cfaf93f7d9f7b120fc8296537e3714c957bb95f0 1 parent 53c9916
@MikeJGilbert42 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/people_controller.rb
View
4 app/controllers/people_controller.rb
@@ -26,7 +26,7 @@ def disambiguate
def render_article_not_found(exception)
@error_message = exception.message
respond_to do |format|
- format.html { render 'people/article_not_found' }
+ format.html { render 'article_not_found' }
format.all { render nothing: true }
end
end
@@ -34,7 +34,7 @@ def render_article_not_found(exception)
def render_not_person(exception)
@error_message = exception.message
respond_to do |format|
- format.html { render 'people/not_person' }
+ format.html { render 'not_person' }
format.all { render nothing: true }
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.