this may make it work

This commit is contained in:
Connor Turland 2016-03-24 23:33:26 -07:00
parent c6f1e3cc4a
commit b36d5df6cb

View file

@ -9,7 +9,7 @@ class API::RestfulController < ActionController::Base
def create
instantiate_resource
resource.user = current_user
authorize resource_class
authorize resource
create_action
respond_with_resource
end