Skip to content

undefined method `pagy_bootstrap_combo_nav_js' for #<ActionView::Base:0x0000000000be50> #543

Closed Answered by benkoshy
noloman asked this question in Q&A
Discussion options

You must be logged in to vote
  • Have you required the relevant extra in your pagy.rb initialization file?
# config/intializlizers/pagy.rb (e.g.)

require 'pagy/extras/bootstrap' # <--- make sure this is here
  • Pls confirm that you've restarted your server?

If you're using any javascript nav you'd have to set it up: https://ddnexus.github.io/pagy/docs/api/javascript/setup/

That's all I can think of.

Ordinarily I'd need a minimal example to replicate, debugging with incomplete information is a trying exercise.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@noloman
Comment options

@BinhTurbo
Comment options

Answer selected by noloman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants