aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/workbenches_controller.rb
diff options
context:
space:
mode:
authorXinhui2016-10-10 16:27:49 +0200
committerXinhui2016-10-10 16:28:14 +0200
commitb2001ba74720f7351fa14e84aba96434e18242d1 (patch)
tree1b1ff41579310067b971005c9dbbb54e4a29ade5 /app/controllers/workbenches_controller.rb
parent4c728e7bfe71f03b30332e99ac4cce0e8e489e63 (diff)
downloadchouette-core-b2001ba74720f7351fa14e84aba96434e18242d1.tar.bz2
Rename model OfferWorkbench to Workbench
Refs #1783
Diffstat (limited to 'app/controllers/workbenches_controller.rb')
-rw-r--r--app/controllers/workbenches_controller.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb
new file mode 100644
index 000000000..1d67db3ab
--- /dev/null
+++ b/app/controllers/workbenches_controller.rb
@@ -0,0 +1,12 @@
+class WorkbenchesController < BreadcrumbController
+
+ defaults :resource_class => Workbench
+ respond_to :html, :only => [:show]
+
+ def show
+ show! do
+ build_breadcrumb :show
+ end
+ end
+
+end