Zilton
Zilton

Reputation: 47

How do I access Kaminari's path_to_next_page method in controller?

I need to access Kaminari's path_to_next_page method in my controller, how can this be done? I've tried this to include in controller include Kaminari::Helpers::UrlHelper works fine on development server, but on heroku it crashes the app... Any ideas?

Heroku log: https://gist.github.com/zilton7/cf1ee417b07fae3d0960be2af6d80624

Gemfile: https://gist.github.com/zilton7/3a5e19b602979c0b806e37b1937d266e

Upvotes: 0

Views: 129

Answers (0)

Related Questions