diff options
| author | Michel Etienne | 2014-07-23 10:38:39 +0200 |
|---|---|---|
| committer | Michel Etienne | 2014-07-23 10:38:39 +0200 |
| commit | 98c377c231abd19343a6163c396b4489fca14ef2 (patch) | |
| tree | cf00ac71cfb92a89c8acde8d306956a80846824e /app/controllers | |
| parent | 08c0bce019481d54f07d67de79061b791dc51a9d (diff) | |
| download | chouette-core-98c377c231abd19343a6163c396b4489fca14ef2.tar.bz2 | |
manage tags on time_table , Mantis 26833
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/time_tables_controller.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/controllers/time_tables_controller.rb b/app/controllers/time_tables_controller.rb index 20100ddd6..b7598301b 100644 --- a/app/controllers/time_tables_controller.rb +++ b/app/controllers/time_tables_controller.rb @@ -11,6 +11,16 @@ class TimeTablesController < ChouetteController @year = params[:year] ? params[:year].to_i : Date.today.cwyear show! end + + def new + @autocomplete_items = ActsAsTaggableOn::Tag.all + new! + end + + def edit + @autocomplete_items = ActsAsTaggableOn::Tag.all + edit! + end def comment_filter respond_to do |format| |
