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
end
<%= simple_form_for(@user_setting,:url=>setting_path) do |f| %>
error:
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