Move to version 2.3.2 of rails.
This commit is contained in:
parent
9126d989c8
commit
2f3e23f6eb
47 changed files with 390 additions and 304 deletions
|
@ -43,7 +43,6 @@ class AmfController < ApplicationController
|
|||
# Help methods for checking boundary sanity and area size
|
||||
include MapBoundary
|
||||
|
||||
session :off
|
||||
before_filter :check_api_writable
|
||||
|
||||
# Main AMF handlers: process the raw AMF string (using AMF library) and
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
class ApiController < ApplicationController
|
||||
|
||||
session :off
|
||||
before_filter :check_api_readable, :except => [:capabilities]
|
||||
after_filter :compress_output
|
||||
around_filter :api_call_handle_error, :api_call_timeout
|
||||
|
|
|
@ -113,7 +113,7 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
I18n.locale = request.compatible_language_from(I18n.available_locales)
|
||||
|
||||
response.headers['Content-Language'] = I18n.locale
|
||||
response.headers['Content-Language'] = I18n.locale.to_s
|
||||
end
|
||||
|
||||
def api_call_handle_error
|
|
@ -4,7 +4,6 @@ class ChangesetController < ApplicationController
|
|||
layout 'site'
|
||||
require 'xml/libxml'
|
||||
|
||||
session :off, :except => [:list, :list_user, :list_bbox]
|
||||
before_filter :authorize_web, :only => [:list, :list_user, :list_bbox]
|
||||
before_filter :set_locale, :only => [:list, :list_user, :list_bbox]
|
||||
before_filter :authorize, :only => [:create, :update, :delete, :upload, :include, :close]
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
class NodeController < ApplicationController
|
||||
require 'xml/libxml'
|
||||
|
||||
session :off
|
||||
before_filter :authorize, :only => [:create, :update, :delete]
|
||||
before_filter :require_public_data, :only => [:create, :update, :delete]
|
||||
before_filter :check_api_writable, :only => [:create, :update, :delete]
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
class OldNodeController < ApplicationController
|
||||
require 'xml/libxml'
|
||||
|
||||
session :off
|
||||
before_filter :check_api_readable
|
||||
after_filter :compress_output
|
||||
around_filter :api_call_handle_error, :api_call_timeout
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
class OldRelationController < ApplicationController
|
||||
require 'xml/libxml'
|
||||
|
||||
session :off
|
||||
before_filter :check_api_readable
|
||||
after_filter :compress_output
|
||||
around_filter :api_call_handle_error, :api_call_timeout
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
class OldWayController < ApplicationController
|
||||
require 'xml/libxml'
|
||||
|
||||
session :off
|
||||
before_filter :check_api_readable
|
||||
after_filter :compress_output
|
||||
around_filter :api_call_handle_error, :api_call_timeout
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
class RelationController < ApplicationController
|
||||
require 'xml/libxml'
|
||||
|
||||
session :off
|
||||
before_filter :authorize, :only => [:create, :update, :delete]
|
||||
before_filter :require_public_data, :only => [:create, :update, :delete]
|
||||
before_filter :check_api_writable, :only => [:create, :update, :delete]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
class SwfController < ApplicationController
|
||||
session :off
|
||||
before_filter :check_api_readable
|
||||
|
||||
# to log:
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
class WayController < ApplicationController
|
||||
require 'xml/libxml'
|
||||
|
||||
session :off
|
||||
before_filter :authorize, :only => [:create, :update, :delete]
|
||||
before_filter :require_public_data, :only => [:create, :update, :delete]
|
||||
before_filter :check_api_writable, :only => [:create, :update, :delete]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue