Permalink
Browse files

fix topics#pagination

  • Loading branch information...
1 parent 8681eb6 commit 64441a6865ed3673e6f6d59d23fab92d3bb6c372 @xdite committed Jan 4, 2012
Showing with 3 additions and 6 deletions.
  1. +1 −1 Gemfile
  2. +2 −2 Gemfile.lock
  3. +0 −2 app/views/topics/index.html.erb
  4. +0 −1 config/application.rb
View
@@ -18,7 +18,7 @@ gem 'mongoid_auto_increment_id', "0.3.1"
gem 'devise', '1.5.2'
# 分页
-gem 'will_paginate', '3.0.2'
+gem 'will_paginate', '3.0.pre4'
# 三方平台 OAuth 验证登陆
View
@@ -348,7 +348,7 @@ GEM
rack (>= 1.0.0)
warden (1.1.0)
rack (>= 1.0)
- will_paginate (3.0.2)
+ will_paginate (3.0.pre4)
xml-simple (1.1.1)
PLATFORMS
@@ -413,4 +413,4 @@ DEPENDENCIES
sprite-factory (= 1.4.1)
uglifier
unicorn
- will_paginate (= 3.0.2)
+ will_paginate (= 3.0.pre4)
@@ -53,8 +53,6 @@
</div>
- <%= will_paginate @topics %>
-
<% if action_name == "index" %>
<div class="more">
<%= link_to(t("topics.check_recent_topics"), recent_topics_path)%>
@@ -59,6 +59,5 @@ class Application < Rails::Application
require 'yaml'
YAML::ENGINE.yamler= 'syck'
-
WillPaginate::ViewHelpers.pagination_options[:renderer] = 'BootstrapHelper::PaginateRenderer'

0 comments on commit 64441a6

Please sign in to comment.