Put current conference in url #14

Merged
AndrewRadev merged 4 commits from conference-slug-in-url into 2.0 2015-07-12 11:32:03 +03:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 6ce06ddbf6 - Show all commits

View File

@ -7,7 +7,7 @@ module Management
private
def default_url_options(options = {})
{ current_conference: current_conference.slug }.merge(options)
{ current_conference: current_conference.try(:slug) }.merge(options)
end
def current_conference?