i think we want to not prevent non admins...
This commit is contained in:
parent
7c1a2f8d1d
commit
1e3971da3d
1 changed files with 0 additions and 1 deletions
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
class ActivityStreams::PhotosController < ApplicationController
|
class ActivityStreams::PhotosController < ApplicationController
|
||||||
before_filter :authenticate_user!
|
before_filter :authenticate_user!
|
||||||
before_filter :redirect_unless_admin, :only => :create
|
|
||||||
skip_before_filter :verify_authenticity_token, :only => :create
|
skip_before_filter :verify_authenticity_token, :only => :create
|
||||||
|
|
||||||
respond_to :json
|
respond_to :json
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue