Restore detection of pagination gems in ShowController

Seems that the respond_to lost it's detection of pagination gems in the latest master, causing exceptions when no pagination gem was used.