From dcc2be7eaeced720f655f3adf08183b8bd6b18f1 Mon Sep 17 00:00:00 2001 From: Ruling-Mac Date: Wed, 21 Oct 2015 15:46:04 +0800 Subject: [PATCH] fix page url --- app/controllers/digital_archives_controller.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/digital_archives_controller.rb b/app/controllers/digital_archives_controller.rb index 8643722..73ccb2d 100644 --- a/app/controllers/digital_archives_controller.rb +++ b/app/controllers/digital_archives_controller.rb @@ -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