I dont understand why this matters...
This commit is contained in:
parent
4159250672
commit
c21c6e1525
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ module ApplicationHelper
|
||||||
|
|
||||||
# TODO:Snap!Con: Replace this with a search for a conference logo.
|
# TODO:Snap!Con: Replace this with a search for a conference logo.
|
||||||
def nav_root_link_for(conference)
|
def nav_root_link_for(conference)
|
||||||
path = conference ? conference_path(conference) : root_path
|
path = conference.try(:name) ? conference_path(conference) : root_path
|
||||||
link_to(
|
link_to(
|
||||||
image_tag('snapcon_logo.png'),
|
image_tag('snapcon_logo.png'),
|
||||||
path,
|
path,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue