X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/303e5d3eb99284ab4fa41be85f831333f2154b0d..2bc44dfddc214efcec9dd2e920fac14a7c2dcec0:/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 52ce742bf..47c638f3a 100644 --- a/app/controllers/diary_entry_controller.rb +++ b/app/controllers/diary_entry_controller.rb @@ -60,7 +60,7 @@ class DiaryEntryController < ApplicationController @diary_comment.user = @user if @diary_comment.save if @diary_comment.user != @entry.user - Notifier::deliver_diary_comment_notification(@diary_comment) + Notifier.diary_comment_notification(@diary_comment).deliver end redirect_to :controller => 'diary_entry', :action => 'view', :display_name => @entry.user.display_name, :id => @entry.id @@ -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"] })