diff --git a/app/controllers/tag_images_controller.rb b/app/controllers/tag_images_controller.rb index b0b33e2..367e339 100644 --- a/app/controllers/tag_images_controller.rb +++ b/app/controllers/tag_images_controller.rb @@ -26,7 +26,7 @@ class TagImagesController < ApplicationController @tag_images = @image.tag_images render :partial => 'tag_images' else - render :partial => 'tag_image_errors', :status => 500 + render :line => "<%= error_messages_for 'tag_image' %>", :status => 500 end end diff --git a/app/views/tag_images/_tag_image_errors.rhtml b/app/views/tag_images/_tag_image_errors.rhtml deleted file mode 100644 index b7a52c0..0000000 --- a/app/views/tag_images/_tag_image_errors.rhtml +++ /dev/null @@ -1 +0,0 @@ -<%= error_messages_for 'tag_image' %>