aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-06-02 23:27:11 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-06-02 23:27:11 +0200
commitf519fd2887e4274bd56050fbce9f3c34bf66e506 (patch)
treea31d145c0540875352b89b1a476452f9e4c4c88d
parentdb515c7ca16a1047505653e45369134e00eb2204 (diff)
downloadhmnoweb-f519fd2887e4274bd56050fbce9f3c34bf66e506.tar.gz
hmnoweb-f519fd2887e4274bd56050fbce9f3c34bf66e506.tar.bz2
hmnoweb-f519fd2887e4274bd56050fbce9f3c34bf66e506.zip
Forgot one Fixnum
-rw-r--r--config/initializers/will_paginate_fix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/will_paginate_fix.rb b/config/initializers/will_paginate_fix.rb
index c4003bb..b41484a 100644
--- a/config/initializers/will_paginate_fix.rb
+++ b/config/initializers/will_paginate_fix.rb
@@ -15,7 +15,7 @@ module WillPaginate
private
def link(text, target, attributes = {})
- if target.is_a? Fixnum
+ if target.is_a? Integer
attributes[:rel] = rel_value(target)
target = url(target)
end