casey_jones 0.0.114 → 0.0.115

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.
@@ -1,5 +1,13 @@
1
1
  module CaseyJones
2
2
  module ApplicationHelperMethods
3
+ def form_for_url
4
+ if parent?
5
+ [parent, resource]
6
+ else
7
+ resource
8
+ end
9
+ end
10
+
3
11
  def remove_child_link(name, form_builder)
4
12
  value = form_builder.object.new_record? ? "1" : "false"
5
13
  klass = form_builder.object.class.name.underscore
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: casey_jones
3
3
  version: !ruby/object:Gem::Version
4
- hash: 251
4
+ hash: 249
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 114
10
- version: 0.0.114
9
+ - 115
10
+ version: 0.0.115
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tyler Gannon
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-06 00:00:00 -07:00
18
+ date: 2010-08-07 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies: []
21
21