# I have this in my routes scope ':account_ident' do resources :things end # this scope is only active when a user is logged in and if possible I would like to append the account_ident automatically rather than having to do this in all the views: link_to "A thing", thing_path(thing, :account_ident => current_account.account_number) # or form_for @thing, :uri => things_path(:account_ident => current_account.account_number) do #...