Make galleries#get_gallery_by_slug and galleries#gallery return the gallery model instead of just images.