grimen-dry_scaffold 0.2.5 → 0.2.6

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.
@@ -34,9 +34,11 @@ class <%= controller_class_name %>Controller < InheritedResources::Base
34
34
  @collection = @<%= model_plural_name %> ||= end_of_association_chain.all
35
35
  <% end -%>
36
36
  end
37
+ alias :load_and_paginate_resources :collection
37
38
 
38
39
  def resource
39
40
  @resource = @<%= model_singular_name %> ||= end_of_association_chain.find(params[:id])
40
41
  end
42
+ alias :load_resource :resource
41
43
 
42
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grimen-dry_scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Grimfelt
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-12 00:00:00 -07:00
12
+ date: 2009-07-03 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15