Put current conference in url #14
|
@ -7,7 +7,7 @@ module Management
|
||||||
private
|
private
|
||||||
|
|
||||||
def default_url_options(options = {})
|
def default_url_options(options = {})
|
||||||
{ current_conference: current_conference.slug }.merge(options)
|
{ current_conference: current_conference.try(:slug) }.merge(options)
|
||||||
end
|
end
|
||||||
|
|
||||||
def current_conference?
|
def current_conference?
|
||||||
|
|
Loading…
Reference in New Issue