Routing Error

no route found to match "/expedientes/text/javascript" with {:method=>:get}