diff --git a/app/controllers/api/restful_controller.rb b/app/controllers/api/restful_controller.rb index 06396e3d..b0d793d1 100644 --- a/app/controllers/api/restful_controller.rb +++ b/app/controllers/api/restful_controller.rb @@ -9,7 +9,7 @@ class API::RestfulController < ActionController::Base def create authorize resource_class - instantiate_resouce + instantiate_resource resource.user = current_user create_action respond_with_resource