Don't create sessions for API calls.

This commit is contained in:
Tom Hughes 2007-08-14 13:59:07 +00:00
parent 8dfecbfbb2
commit e70d94c54a
9 changed files with 10 additions and 1 deletions

View file

@ -1,6 +1,7 @@
class SegmentController < ApplicationController
require 'xml/libxml'
session :off
before_filter :authorize, :only => [:create, :update, :delete]
before_filter :check_availability, :only => [:create, :update, :delete]
after_filter :compress_output