Might be useful to set the locale everywhere we need the web, rather than just the diary entries.
This commit is contained in:
parent
d640ae3b93
commit
035254c5fb
8 changed files with 11 additions and 0 deletions
|
@ -5,6 +5,7 @@ class ChangesetController < ApplicationController
|
|||
require 'xml/libxml'
|
||||
|
||||
session :off, :except => [:list, :list_user, :list_bbox]
|
||||
before_filter :set_locale, :only => [:list, :list_user, :list_bbox]
|
||||
before_filter :authorize_web, :only => [:list, :list_user, :list_bbox]
|
||||
before_filter :authorize, :only => [:create, :update, :delete, :upload, :include, :close]
|
||||
before_filter :require_public_data, :only => [:create, :update, :delete, :upload, :include, :close]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue