Call set_locale for all notes actions
This commit is contained in:
parent
36bd2468e0
commit
95c3a4439e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue