twilson63-nifty-generators 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('nifty-generators', '0.3.
|
5
|
+
Echoe.new('nifty-generators', '0.3.5') do |p|
|
6
6
|
p.project = "forked-niftygenerators"
|
7
7
|
p.description = "A collection of useful generator scripts for Rails."
|
8
8
|
p.url = "http://github.com/twilson63/nifty-generators"
|
data/nifty-generators.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
%th <%= attribute.column.human_name %>
|
6
6
|
<%- end -%>
|
7
7
|
%tbody{:id => "<%= plural_name %>" }
|
8
|
-
= render :partial => "<%= singular_name %>", :collection => <%= plural_name %>
|
8
|
+
= render :partial => "<%= plural_name %>/<%= singular_name %>", :collection => <%= plural_name %>
|
9
9
|
|
10
10
|
<%- if actions? :new -%>
|
11
11
|
%p= link_to "New <%= singular_name.titleize %>", new_<%= parent_singular_name %>_<%= singular_name %>_path(@<%= parent_singular_name %>), :class => "button <%= options[:ajaxify] ? 'dialog_link' : '' %>"
|