diff options
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/events_controller.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb index 9bed5dd..b98a38e 100644 --- a/app/controllers/events_controller.rb +++ b/app/controllers/events_controller.rb | |||
| @@ -37,6 +37,10 @@ class EventsController < ApplicationController | |||
| 37 | tag_list: params[:tag_list] | 37 | tag_list: params[:tag_list] |
| 38 | ) | 38 | ) |
| 39 | 39 | ||
| 40 | if params[:tag_list].present? && params[:auto_tag_source].present? | ||
| 41 | flash.now[:notice] = "Tag '#{params[:tag_list]}' was pre-filled because this page is tagged '#{params[:auto_tag_source]}'. You can remove it below." | ||
| 42 | end | ||
| 43 | |||
| 40 | respond_to do |format| | 44 | respond_to do |format| |
| 41 | format.html # new.html.erb | 45 | format.html # new.html.erb |
| 42 | format.xml { render :xml => @event } | 46 | format.xml { render :xml => @event } |
