This commit is contained in:
Stella Rouzi 2015-10-17 16:57:48 +03:00
parent 2e692f7ea5
commit 01086813af
37 changed files with 221 additions and 190 deletions

View file

@ -9,7 +9,8 @@ class TicketsController < ApplicationController
def check_load_resource
if @tickets.empty?
redirect_to root_path, notice: "There are no tickets available for #{@conference.title}!"
flash[:notice] = "There are no tickets available for #{@conference.title}!"
redirect_to root_path
end
end
end