spec/dummy/app/controllers/posts_controller.rb in power_resource-0.0.1 vs spec/dummy/app/controllers/posts_controller.rb in power_resource-0.0.2
- old
+ new
@@ -1,3 +1,6 @@
class PostsController < PowerResource::BaseController
+ def permit_attributes
+ %w(category_id title content)
+ end
end