knaveofdiamonds-knave_extras 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/knave_extras.gemspec +1 -1
- data/rails_generators/scaffold/templates/controller.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/knave_extras.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
class <%= controller_class_name %>Controller < ApplicationController
|
2
2
|
def index
|
3
|
-
@<%= table_name %> = <%= class_name %>.
|
3
|
+
@<%= table_name %> = <%= class_name %>.paginate(:page => params[:page], :per_page => 50)
|
4
4
|
|
5
5
|
respond_to do |format|
|
6
6
|
format.html # index.html.erb
|