add index API index action of images fixes spree/spree#5081

add newline to end of file

remove extra line