Revert "Added route to root path for navigation from splash"
This commit is contained in:
parent
d4074b798e
commit
0d0c5700cb
3 changed files with 21 additions and 1 deletions
|
|
@ -179,6 +179,24 @@ module ApplicationHelper
|
|||
result
|
||||
end
|
||||
|
||||
def default_brand
|
||||
link_to CONFIG['name'], root_path,
|
||||
class: 'navbar-brand',
|
||||
title: 'Open Source Event Manager'
|
||||
end
|
||||
|
||||
def short_title_brand(conference)
|
||||
link_to conference.short_title, conference_path(conference.short_title),
|
||||
class: 'navbar-brand',
|
||||
title: conference.title
|
||||
end
|
||||
|
||||
def brand
|
||||
content_for(:brand) ||
|
||||
(default_brand if controller.class.parent == Admin) ||
|
||||
default_brand
|
||||
end
|
||||
|
||||
def markdown(text)
|
||||
options = {
|
||||
autolink: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue