nested resources for images, getting error with block in controller