judytuna/shortcode-site-309 — Issue #59: pass will_paginate the right thing in voting gallery
Author: judytuna
Created: 2011-11-14 00:46:30+00:00
State: open

Right now, the voting gallery is actually just entries#index, but with a filter that only shows the entries available for voting. So will_paginate has phantom pages because will_paginate thinks that it's showing us EVERYTHING in the entries table in the database. Fix this so that will_paginate only handles the entries that we're actually shoing.

Furthermore, I want to use a wholly separate function other than entries#index to do this instead. I will have to create it in the entries controller, then create a new page in view/entries/, then also fix the routes (most notably the "Voting Gallery" link).

I don't think entries#index (which should do what it says, which is "show every single [public] entry ever" will be available to click on anywhere.