From: Tom Hughes Date: Wed, 24 Apr 2013 09:51:37 +0000 (+0100) Subject: Call set_locale for all notes actions X-Git-Tag: live~5098 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/95c3a4439e726c62ee619fa54bf1dff794b5c244 Call set_locale for all notes actions --- diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index 36236ef10..e037a48c9 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -9,7 +9,7 @@ class NotesController < ApplicationController before_filter :require_moderator, :only => [:destroy] before_filter :check_api_writable, :only => [:create, :comment, :close, :destroy] before_filter :require_allow_write_notes, :only => [:create, :comment, :close, :destroy] - before_filter :set_locale, :only => [:mine] + before_filter :set_locale after_filter :compress_output around_filter :api_call_handle_error, :api_call_timeout