inherited_resources_helpers 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ module InheritedResources
13
13
  if action == :destroy
14
14
  model = args.last.class.respond_to?(:model_name) ? args.last : controller.resource
15
15
  name = model.class.model_name.human
16
- options.reverse_merge!(:method => :delete, :confirm => t(:'.confirm_delete', :model_name => name))
16
+ options.reverse_merge!(:method => :delete, :confirm => t(:'.confirm_destroy', :model_name => name))
17
17
  end
18
18
 
19
19
  link_text = args.shift if args.first.is_a?(String)
@@ -31,4 +31,4 @@ module InheritedResources
31
31
  end
32
32
  end
33
33
  end
34
- end
34
+ end
@@ -53,4 +53,4 @@ module InheritedResources
53
53
  end
54
54
  end
55
55
  end
56
- end
56
+ end
@@ -1,3 +1,3 @@
1
1
  module InheritedResourcesHelpers
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.10'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inherited_resources_helpers
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sven Fuchs
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-29 00:00:00 +02:00
18
+ date: 2010-10-04 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -33,8 +33,8 @@ files:
33
33
  - lib/inherited_resources/helpers/resources.rb
34
34
  - lib/inherited_resources/helpers/resources_url_for.rb
35
35
  - lib/inherited_resources/helpers/url_for.rb
36
- - lib/inherited_resources/helpers/version.rb
37
36
  - lib/inherited_resources/helpers.rb
37
+ - lib/inherited_resources_helpers/version.rb
38
38
  has_rdoc: true
39
39
  homepage: http://github.com/svenfuchs/inherited_resources_helpers
40
40
  licenses: []