diff --git a/plugins/dspace/views/cms/dspace_plugin/_collection.html.erb b/plugins/dspace/views/cms/dspace_plugin/_collection.html.erb index 224d0fc..c003771 100644 --- a/plugins/dspace/views/cms/dspace_plugin/_collection.html.erb +++ b/plugins/dspace/views/cms/dspace_plugin/_collection.html.erb @@ -6,7 +6,7 @@ <%= hidden_field_tag 'article[parent_id]', @article.parent_id %> -<% dspace_server_url = @article.parent.server_url %> +<% dspace_server_url = @article.parent.dspace_server_url %> <% dspace_client = Dspace::Client.new(dspace_server_url) %> diff --git a/plugins/dspace/views/cms/dspace_plugin/_communityy.html.erb b/plugins/dspace/views/cms/dspace_plugin/_communityy.html.erb index 1e1c754..de3ef1a 100644 --- a/plugins/dspace/views/cms/dspace_plugin/_communityy.html.erb +++ b/plugins/dspace/views/cms/dspace_plugin/_communityy.html.erb @@ -6,7 +6,7 @@ <%= hidden_field_tag 'article[parent_id]', @article.parent_id %> -<% dspace_server_url = @article.parent.server_url %> +<% dspace_server_url = @article.parent.dspace_server_url %> <% dspace_client = Dspace::Client.new(dspace_server_url) %> diff --git a/plugins/dspace/views/content_viewer/collection.html.erb b/plugins/dspace/views/content_viewer/collection.html.erb index 4a63989..896fcaf 100644 --- a/plugins/dspace/views/content_viewer/collection.html.erb +++ b/plugins/dspace/views/content_viewer/collection.html.erb @@ -1,5 +1,5 @@ <% collection_id = dspace_collection.dspace_collection_id %> -<% dspace_server = dspace_collection.parent.server_url %> +<% dspace_server = dspace_collection.parent.dspace_server_url %>