diff options
| author | Guillaume | 2017-10-31 11:54:08 +0100 |
|---|---|---|
| committer | Guillaume | 2017-10-31 11:54:08 +0100 |
| commit | f201d7cdd68ca554e7a99eb791baf48a540b8978 (patch) | |
| tree | 428c823e77c330cdc5ea85e03ff34805bdae854e /app/controllers/time_tables_controller.rb | |
| parent | 90173e6bdd12d1aabe68a0d28f4f228782d3adf0 (diff) | |
| parent | 718d9ab7f8d5b1cd125ee341bd098c41615a0cbd (diff) | |
| download | chouette-core-f201d7cdd68ca554e7a99eb791baf48a540b8978.tar.bz2 | |
Merge branch 'master' into 4755-page_for_validate_referential
Diffstat (limited to 'app/controllers/time_tables_controller.rb')
| -rw-r--r-- | app/controllers/time_tables_controller.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/app/controllers/time_tables_controller.rb b/app/controllers/time_tables_controller.rb index af74f635f..0c1769ad7 100644 --- a/app/controllers/time_tables_controller.rb +++ b/app/controllers/time_tables_controller.rb @@ -19,7 +19,6 @@ class TimeTablesController < ChouetteController @time_table = @time_table.decorate(context: { referential: @referential }) - build_breadcrumb :show end end @@ -30,9 +29,7 @@ class TimeTablesController < ChouetteController def new @autocomplete_items = ActsAsTaggableOn::Tag.all - new! do - build_breadcrumb :new - end + new! end def create @@ -66,7 +63,6 @@ class TimeTablesController < ChouetteController def edit edit! do - build_breadcrumb :edit @autocomplete_items = ActsAsTaggableOn::Tag.all end end @@ -89,8 +85,6 @@ class TimeTablesController < ChouetteController end @time_tables = decorate_time_tables(@time_tables) - - build_breadcrumb :index } format.js { @@ -101,8 +95,6 @@ class TimeTablesController < ChouetteController def duplicate @time_table = Chouette::TimeTable.find params[:id] - # prepare breadcrumb before prepare data for new timetable - build_breadcrumb :edit @time_table = @time_table.duplicate render :new end |
