headstart 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ class Admin::UsersController < Admin::AdminController
2
2
  MODEL = self.controller_name.singularize.downcase.to_sym
3
3
 
4
4
  def index
5
- @users = User.all
5
+ @users = User.paginate :page => params[:page], :per_page => Settings.page_limit
6
6
  end
7
7
 
8
8
  def show
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: headstart
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
  - 4
9
- - 1
10
- version: 0.4.1
9
+ - 2
10
+ version: 0.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bran Burridge