error trying to instantiate a modal object inside admin controller
===

I have an admin controller and an address modal object. I am trying to instantiate address object inside admin controller when I see the following error

`    match '/admin/calculate-shipping' => 'admin#calculate_shipping', :as => :calculate_shipping, :via => :get
`

Route

`match '/admin/calculate-shipping' => 'admin#calculate_shipping', :as => :calculate_shipping, :via => :get
`

Do I need to declare nested resources everytime I have instantiate a modal object inside a different controller ?


