aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/banners/admin/banners_controller.rb
diff options
context:
space:
mode:
authorJames Thompson <james.b.thompson@gmail.com>2012-03-14 11:40:16 +0200
committerJames Thompson <james.b.thompson@gmail.com>2012-03-14 11:40:16 +0200
commit56d7747f54e86993415b76c92e101608e5ea44e2 (patch)
tree025b7b37f50c4c291e7e676286e7767c40adb1f9 /app/controllers/refinery/banners/admin/banners_controller.rb
downloadrefinerycms-pc_banners-56d7747f54e86993415b76c92e101608e5ea44e2.tar.gz
refinerycms-pc_banners-56d7747f54e86993415b76c92e101608e5ea44e2.tar.bz2
refinerycms-pc_banners-56d7747f54e86993415b76c92e101608e5ea44e2.zip
initial commit
Diffstat (limited to 'app/controllers/refinery/banners/admin/banners_controller.rb')
-rw-r--r--app/controllers/refinery/banners/admin/banners_controller.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/controllers/refinery/banners/admin/banners_controller.rb b/app/controllers/refinery/banners/admin/banners_controller.rb
new file mode 100644
index 0000000..1992bcf
--- /dev/null
+++ b/app/controllers/refinery/banners/admin/banners_controller.rb
@@ -0,0 +1,12 @@
+module Refinery
+ module Banners
+ module Admin
+ class BannersController < ::Refinery::AdminController
+
+ crudify :'refinery/banners/banner',
+ :title_attribute => 'name', :xhr_paging => true
+
+ end
+ end
+ end
+end