polymorphic action index and changed routes for pictures