Skip to content

Instantly share code, notes, and snippets.

@rjarteta
Created February 26, 2010 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjarteta/315840 to your computer and use it in GitHub Desktop.
Save rjarteta/315840 to your computer and use it in GitHub Desktop.
map.with_options :name_prefix => 'parametros_', :path_prefix => "parametros", :controller => "parametros" do |param|
param.editar 'editar', :action => "editar"
end
#Produces:
#parametros_editar /parametros/editar {:action=>"editar", :controller=>"parametros"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment