diff options
| author | Xinhui | 2016-10-10 16:27:49 +0200 |
|---|---|---|
| committer | Xinhui | 2016-10-10 16:28:14 +0200 |
| commit | b2001ba74720f7351fa14e84aba96434e18242d1 (patch) | |
| tree | 1b1ff41579310067b971005c9dbbb54e4a29ade5 /app/controllers/workbenches_controller.rb | |
| parent | 4c728e7bfe71f03b30332e99ac4cce0e8e489e63 (diff) | |
| download | chouette-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.rb | 12 |
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 |
