diff options
| author | Xinhui | 2017-10-18 16:53:06 +0200 |
|---|---|---|
| committer | Xinhui | 2017-10-18 16:53:06 +0200 |
| commit | 1875caf7b065a05afc30bfc888cd642464580b27 (patch) | |
| tree | 60b47d31fcfe20e7f723cdb491b0ec60bd7ae083 /app/controllers | |
| parent | ea410a1e2b1c4faba350d5d40a0eeb9e8dfbae0b (diff) | |
| download | chouette-core-1875caf7b065a05afc30bfc888cd642464580b27.tar.bz2 | |
Disable call to legacy breadcrumb
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/breadcrumb_controller.rb | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/app/controllers/breadcrumb_controller.rb b/app/controllers/breadcrumb_controller.rb index cb639fdb8..8c350cbec 100644 --- a/app/controllers/breadcrumb_controller.rb +++ b/app/controllers/breadcrumb_controller.rb @@ -1,41 +1,3 @@ class BreadcrumbController < InheritedResources::Base include Pundit - include BreadcrumbHelper - - def show - show! do - build_breadcrumb :show - end - end - - def index - index! do - build_breadcrumb :index - end - end - - def edit - edit! do - build_breadcrumb :edit - end - end - - def update - update! do |success, failure| - build_breadcrumb :edit - end - end - - def new - new! do - build_breadcrumb :new - end - end - - def create - create! do |success, failure| - build_breadcrumb :new - end - end - end |
