X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f973bee52b375af9228b972f8740676b86f06f88..7b37f4cb62fca5fec3d3d41eacf4601595519c4a:/app/controllers/diary_entry_controller.rb?ds=sidebyside diff --git a/app/controllers/diary_entry_controller.rb b/app/controllers/diary_entry_controller.rb index 320f3d029..13a8818fb 100644 --- a/app/controllers/diary_entry_controller.rb +++ b/app/controllers/diary_entry_controller.rb @@ -10,7 +10,7 @@ class DiaryEntryController < ApplicationController caches_action :list, :view, :layout => false caches_action :rss, :layout => true - cache_sweeper :diary_sweeper, :only => [:new, :edit, :comment, :hide, :hidecomment], :unless => OSM_STATUS == :database_offline + cache_sweeper :diary_sweeper, :only => [:new, :edit, :comment, :hide, :hidecomment] def new @title = t 'diary_entry.new.title' @@ -111,8 +111,6 @@ class DiaryEntryController < ApplicationController end def rss - request.format = :rss - if params[:display_name] user = User.find_by_display_name(params[:display_name], :conditions => { :status => ["active", "confirmed"] })