render inline instead of a partial

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@121 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2008-02-03 00:57:12 +00:00
parent e256253459
commit 3138566051
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -1 +0,0 @@
<%= error_messages_for 'tag_image' %>