diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 24b155f6..dbf68c29 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -16,8 +16,8 @@ def previous_and_next_links(document) if document.previous_sibling siblings.merge!( previous_page: { - "title" => "Previous page", - "url" => document.previous_sibling.base_path + title: "Previous page", + url: document.previous_sibling.base_path } ) end @@ -25,8 +25,8 @@ def previous_and_next_links(document) if document.next_sibling siblings.merge!( next_page: { - "title" => "Next page", - "url" => document.next_sibling.base_path + title: "Next page", + url: document.next_sibling.base_path } ) end