Lookup the user before setting the locale. Fixes #2068.
authorTom Hughes <tom@compton.nu>
Wed, 15 Jul 2009 18:21:32 +0000 (18:21 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 15 Jul 2009 18:21:32 +0000 (18:21 +0000)
app/controllers/geocoder_controller.rb

index 1b2ae340b58c38912fe76edb0827b62a6dabf3a4..8195b0d473c511bb7a9d6de108d2283bcff99a18 100644 (file)
@@ -3,6 +3,7 @@ class GeocoderController < ApplicationController
   require 'net/http'
   require 'rexml/document'
 
+  before_filter :authorize_web
   before_filter :set_locale
 
   def search