I have the following in my routes.rb:
namespace :accounting do resource :settings end resource :settings
And corresponding controllers…
For some reason when I submit data to the Accounting::SettingsController the params[:setting] is empty, after some experiments I found that it actually accepts params, but according to the global settings model.
What I’m missing?
Thanks in advance.