<div name="settings">
<div class="yui-g widget" id="widget_plugins">
- <%= render :partial => 'settings/settings', :locals => {:project=>@project} %>
+ <%= render :partial => 'settings/settings' %>
</div>
-</div>
\ No newline at end of file
+</div>
<ul class="tabs2">
<% subcategories.each do |subcategory| -%>
<li>
- <%= link_to subcategory_name(@category, subcategory), {:action => @resource ? 'settings' : 'index', :category => @category, :subcategory => subcategory}, :class => @subcategory==subcategory ? 'selected' : nil -%>
+ <%= link_to subcategory_name(@category, subcategory), {:controller => @resource ? 'project' : 'settings', :action => @resource ? 'settings' : 'index', :category => @category, :subcategory => subcategory, :id => @resource ? @resource.id : nil}, :class => @subcategory==subcategory ? 'selected' : nil -%>
</li>
<% end -%>
</ul>