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,8 +53,10 @@ class DigitalArchivesController < ApplicationController
url = page.nil? ? "#" : "/#{I18n.locale.to_s}/#{page.url}" url = page.nil? ? "#" : "/#{I18n.locale.to_s}/#{page.url}"
{ {
"digital_content_archives" => dcas, "digital_content_archives" => dcas,
"extras" => {
"page_url" => url "page_url" => url
} }
}
end end
def show def show