Update images_controller_decorator.rb

Added a debugger for flatten issue