diff --git a/app/views/admin/module_store/index.html.erb b/app/views/admin/module_store/index.html.erb index 0b1d0e4..d752a07 100644 --- a/app/views/admin/module_store/index.html.erb +++ b/app/views/admin/module_store/index.html.erb @@ -199,11 +199,11 @@
-
<%=link_to extension["title"], admin_module_store_show_path(extension["_slugs"][0])%>
+
<%=link_to extension["title"], admin_module_store_show_path(:id => extension["_slugs"][0])%>

<%=extension["author"]%>

- <%= extension["description"].html_safe%> <%= link_to 'Read More', admin_module_store_show_path(extension["_slugs"][0]) %> + <%= extension["description"].html_safe%> <%=link_to extension["title"], admin_module_store_show_path(:id => extension["_slugs"][0])%> <% @module_installed = File.read("downloaded_extensions.rb").include?(extension["key"])%> <% if @module_installed.eql?(true)%> diff --git a/app/views/admin/module_store/show.html.erb b/app/views/admin/module_store/show.html.erb index 9d152f3..e0ec81e 100644 --- a/app/views/admin/module_store/show.html.erb +++ b/app/views/admin/module_store/show.html.erb @@ -22,7 +22,7 @@
-

<%= @extension.first["title"] %>

+

<%= @extension["title"] %>

free download

Description

-
<%= @extension.first["description"].html_safe%>
+
<%= @extension["description"].html_safe%>

screen shot

- <%= image_tag "#{STORE_CONFIG[:store_settings]["url"]}/#{@extension.first['preview']['preview']['url']}"%> + <%= image_tag "#{STORE_CONFIG[:store_settings]["url"]}/#{@extension['preview']['preview']['url']}"%>