class ApiController < ApplicationController
+ before_filter :authorize
+ after_filter :compress_output
+
def map
response.headers["Content-Type"] = 'application/xml'
# Figure out the bbox
require 'xml/libxml'
before_filter :authorize
+ after_filter :compress_output
def create
response.headers["Content-Type"] = 'application/xml'
require 'xml/libxml'
before_filter :authorize
+ after_filter :compress_output
def create
response.headers["Content-Type"] = 'application/xml'
require 'xml/libxml'
before_filter :authorize
+ after_filter :compress_output
def create
if request.put?