fix page url

This commit is contained in:
Ruling-Mac 2015-10-21 15:46:04 +08:00
parent f8f86f7b57
commit dcc2be7eae
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@ class DigitalArchivesController < ApplicationController
url = page.nil? ? "#" : "/#{I18n.locale.to_s}/#{page.url}"
{
"digital_content_archives" => dcas,
"page_url" => url
"extras" => {
"page_url" => url
}
}
end