No route matches [GET] "/galleries/43/4.jpg"
Try running rake routes for more information on available routes.
rake routes