aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/banners/admin/banners_controller.rb
diff options
context:
space:
mode:
authorDries Steenhouwer <steenhouwer.dries@gmail.com>2015-02-05 16:08:04 +0100
committerDries Steenhouwer <steenhouwer.dries@gmail.com>2015-02-05 16:08:04 +0100
commit1277f7634650f9525d8ffea679c47a15833cbc87 (patch)
tree84fe8286a35e3e8cf47fe4685d5ef01577634047 /app/controllers/refinery/banners/admin/banners_controller.rb
parentf94b05546856fbb0d8051226b47b9812f108a935 (diff)
downloadrefinerycms-pc_banners-1277f7634650f9525d8ffea679c47a15833cbc87.tar.gz
refinerycms-pc_banners-1277f7634650f9525d8ffea679c47a15833cbc87.tar.bz2
refinerycms-pc_banners-1277f7634650f9525d8ffea679c47a15833cbc87.zip
make homepage ready
Diffstat (limited to 'app/controllers/refinery/banners/admin/banners_controller.rb')
-rw-r--r--app/controllers/refinery/banners/admin/banners_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/refinery/banners/admin/banners_controller.rb b/app/controllers/refinery/banners/admin/banners_controller.rb
index 1992bcf..759476a 100644
--- a/app/controllers/refinery/banners/admin/banners_controller.rb
+++ b/app/controllers/refinery/banners/admin/banners_controller.rb
@@ -6,6 +6,11 @@ module Refinery
crudify :'refinery/banners/banner',
:title_attribute => 'name', :xhr_paging => true
+ private
+ def banner_params
+ params.require(:banner).permit!
+ end
+
end
end
end