summaryrefslogtreecommitdiff
path: root/app/controllers/api/v1
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-07-05 17:03:12 -0600
committermo khan <mo@mokhan.ca>2014-07-05 17:03:12 -0600
commit825682089b7db7a587ee870c0d4bd09de6998160 (patch)
treef8a677cb11c25313c628aafc4d8699b5a8f4eafd /app/controllers/api/v1
parente6d58e34245e41381d522c240600ea536ad70e5d (diff)
remove is_restricted.
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r--app/controllers/api/v1/cakes_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/cakes_controller.rb b/app/controllers/api/v1/cakes_controller.rb
index c8241b6c..90924aa1 100644
--- a/app/controllers/api/v1/cakes_controller.rb
+++ b/app/controllers/api/v1/cakes_controller.rb
@@ -44,7 +44,7 @@ module Api
private
def cake_params
- params.require(:cake).permit(:name, :story, :is_restricted, :watermark, :category_id, :tags)
+ params.require(:cake).permit(:name, :story, :watermark, :category_id, :tags)
end
end
end