schofield 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/generators/schofield_controller/templates/nested/edit.rb +2 -0
- data/generators/schofield_controller/templates/nested/show.rb +12 -1
- data/generators/schofield_controller/templates/unnested/edit.rb +2 -0
- data/generators/schofield_controller/templates/unnested/show.rb +2 -0
- data/schofield.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
@@ -1 +1,12 @@
|
|
1
|
-
|
1
|
+
<%- if actions.include?('edit') -%>
|
2
|
+
- toggle_show_edit 'Edit', :admin, @<%= sco_underscored %>
|
3
|
+
<%- end -%>
|
4
|
+
<% sco_children.each do |child| -%>
|
5
|
+
|
6
|
+
|
7
|
+
%h5 <%= child[:titleized_plural] %>
|
8
|
+
|
9
|
+
%p= link_to('Add new <%= child[:humanized] %>', new_admin_<%= sco_underscored %>_<%= child[:underscored] %>_path(@<%= sco_underscored %>))
|
10
|
+
|
11
|
+
= render :partial => 'shared/<%= child[:underscored_plural] %>', :object => @<%= sco_underscored %>.<%= child[:underscored_plural] %>
|
12
|
+
<% end -%>
|
data/schofield.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{schofield}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Marc Tauber"]
|
12
|
-
s.date = %q{2010-05-
|
12
|
+
s.date = %q{2010-05-27}
|
13
13
|
s.description = %q{Create views and controllers from routes defined in admin namespace. Very, very basic and very specific to my needs.'}
|
14
14
|
s.email = %q{marc@marctauber.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Marc Tauber
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-27 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|