Shared view between different contrlrs with pagination?

hi,
is it possible to share the same view with different controllers using
pagination.

my main controller uses pagination fine and all the views are located in
it named directory. now i have another controller that would like to use
the one of the mains view but the application crashes when clicking on
page number 2. thoughts?

when i click on page two, i get the error, nil.current_pageā€¦

this is the controller that is trying to use another controllers view.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs