extended_inherited_resources 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,18 @@
1
+ == Differences to original Inherited Resources
2
+
3
+ * Pagination is on by default
4
+ * to alter, pass :pagination to defaults, i.e.
5
+ * defaults :pagination => false
6
+ * defaults :pagination => true #20
7
+ * defaults :pagination => 15
8
+ * default redirect to update and create is now index
9
+ * to alter, pass :redirects to defaults, i.e.
10
+ * defaults :redirects => {:create => :show, :update => :index}
11
+ * defaults :redirects => {:create => :edit}
12
+ * You can enable searchlogic integration easily, i.e. (Searchlogic object will be saved in @search object)
13
+ * defaults :searchlogic => true
14
+ * defaults :searchlogic => :params_for_sl #key from params in which params for searchlogic are returned
15
+
1
16
  == Extended Inherited Resources
2
17
 
3
18
  Inherited Resources speeds up development by making your controllers inherit
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{extended_inherited_resources}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["josevalim", "stevo"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - josevalim