diff --git a/app/helpers/discussions_helper.rb b/app/helpers/discussions_helper.rb index 80c7bcd..5e9703d 100644 --- a/app/helpers/discussions_helper.rb +++ b/app/helpers/discussions_helper.rb @@ -4,7 +4,7 @@ module DiscussionsHelper # def page_or_parent_link(page) if page.owner_type.to_s.empty? - return link_to 'Show Wiki Page', page_path(page.title_for_url) + return link_to('Show Wiki Page', page_path(page.title_for_url)) end link_to("Show #{page.owner_type} Page", send("#{page.owner_type.downcase}_path", page.title_for_url))