Add a flag to allow the API to be placed in read-only mode.
This commit is contained in:
parent
bd07221de5
commit
9dbe1a497a
10 changed files with 56 additions and 14 deletions
|
@ -2,6 +2,7 @@ class SegmentController < ApplicationController
|
|||
require 'xml/libxml'
|
||||
|
||||
before_filter :authorize, :only => [:create, :update, :delete]
|
||||
before_filter :check_availability, :only => [:create, :update, :delete]
|
||||
after_filter :compress_output
|
||||
|
||||
def create
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue