Using resource controller and namespace

This commit is contained in:
Michael Gall
2011-12-19 18:46:11 +01:00
committed by future
parent 02fd4a64d1
commit 4ecf99a4ae
21 changed files with 84 additions and 69 deletions
@@ -2,7 +2,7 @@
<div class="yui-u first">
<%= form_for(:digital, :url => { :controller => 'digitals', :action => 'create' }, :html => { :multipart => true }) do |f| %>
<fieldset>
<legend><%= Variant.model_name.human %> "<%= variant.options_text %>"</legend>
<legend><%= Spree::Variant.model_name.human %> "<%= variant.options_text %>"</legend>
<%= f.field_container :current_file do %>
<strong><%=t 'current_file' %>:</strong><br/>
@@ -1,5 +1,5 @@
<%= render :partial => 'admin/shared/product_sub_menu' %>
<%= render :partial => 'admin/shared/product_tabs', :locals => {:current => "Digital Versions"} %>
<%= render :partial => 'spree/admin/shared/product_sub_menu' %>
<%= render :partial => 'spree/admin/shared/product_tabs', :locals => {:current => "Digital Versions"} %>
<% if @product.has_variants? %>