This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Home
with_url_scope allows you to pass the same parameters to many urls DRYly. It works pretty much like with_scope for active record. By default options passed explicity or implicitly will override the parameters passed to with_url_scope, the exception is for those options passed via :overwrite => { … } which will take precidence over any parameter, even :action, :controller and :only_path.
Examples:
<% with_url_scope(:return_to => request.uri) do %> <%= link_to 'Sign Up', signup_path %> <%= link_to 'Login', login_path %> <% end %>






