]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/diary_entry_controller.rb
Remove all use of the :text option to render
[rails.git] / app / controllers / diary_entry_controller.rb
index 8863e2fd9f2de594797e9561af339acd13f753ab..19bc84ac785e6e8193235784ab1eb65f38588911 100644 (file)
@@ -158,7 +158,7 @@ class DiaryEntryController < ApplicationController
         @description = I18n.t("diary_entry.feed.user.description", :user => user.display_name)
         @link = "http://#{SERVER_URL}/user/#{user.display_name}/diary"
       else
-        render :text => "", :status => :not_found
+        head :not_found
         return
       end
     else