shlok007 2017-08-08 22:56:42 +05:30
parent b1624a6812
commit d2b5ec1770

View file

@ -10,7 +10,7 @@ class ConferencesController < ApplicationController
def show def show
@conference = if params[:id] @conference = if params[:id]
Conference.find_by_short_title(params[:id]) Conference.find_by(short_title: params[:id])
else else
load_conference_by_domain load_conference_by_domain
end end