Need help with route and form

here is my route scope path: “/user” do

get 'activity' , :to => "dashboard#activity", :as=>'activity'

#get "settings" => "users#settings", as: "user_settings"

resources :user_settings, :path=>'settings' ,:as=>'settings'  #has_one

resources :user_profiles, as: "the_user_profiles",:path=>:profiles


<%= simple_form_for(@user_setting,:url=>setting_path) do |f| %>


No route matches {:action=>"show", :controller=>"user_settings"}, missing required keys: [:id]

→ i need the url to show: user/settings, but dont know what to enter in form;

pls help

Maybe using resource (singular) instead of resources (plural) will help you.