Might be useful to set the locale everywhere we need the web, rather than just the diary entries.

This commit is contained in:
Shaun McDonald 2009-05-29 14:11:12 +00:00
parent d640ae3b93
commit 035254c5fb
8 changed files with 11 additions and 0 deletions

View file

@ -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]