Permalink
Browse files

Don't need to reference the controller from itself.

  • Loading branch information...
1 parent 53c9916 commit cfaf93f7d9f7b120fc8296537e3714c957bb95f0 @MikeJGilbert42 committed May 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/people_controller.rb
@@ -26,15 +26,15 @@ 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
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

0 comments on commit cfaf93f

Please sign in to comment.