get('inflector')->underscore(substr($method, 0, -4)); return \Rails::application() ->router() ->url_helpers() ->find_route_with_alias($alias, $params); } }