Don't create sessions for API calls.
This commit is contained in:
parent
8dfecbfbb2
commit
e70d94c54a
9 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue