]> git.openstreetmap.org Git - rails.git/commitdiff
Call set_locale for all notes actions
authorTom Hughes <tom@compton.nu>
Wed, 24 Apr 2013 09:51:37 +0000 (10:51 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 24 Apr 2013 09:51:37 +0000 (10:51 +0100)
app/controllers/notes_controller.rb

index 36236ef106e780a87c766a45f9e3e65babc7fbad..e037a48c9c596d7f8808c0db6c078c46798481b7 100644 (file)
@@ -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