fix page url
This commit is contained in:
parent
f8f86f7b57
commit
dcc2be7eae
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue