This commit is contained in:
Stella 2014-11-30 15:19:19 +02:00
parent 1edb4bff9e
commit 65c0cd7a73
7 changed files with 10 additions and 10 deletions

View file

@ -36,7 +36,7 @@ module Admin
if @venue.destroy
redirect_to admin_conference_venue_path, notice: 'Venue was successfully deleted.'
else
redirect_to admin_conference_venue_path, alert: 'A error prohibited this Venue from being destroyed: '\
redirect_to admin_conference_venue_path, alert: 'An error prohibited this Venue from being destroyed: '\
"#{@venue.errors.full_messages.join('. ')}."
end
end