0

I have two applications. One application with routes like:

namespace :api do
  namespace :v1 do
    resources :things
  end
end

And another that I hope to connect to it via ActiveResource.

What's the right way to connect to the first application's api/v1/things route with ActiveResource?

Right now it looks a whole lot like I will have to implement custom_method_collection_url but that feels like a hack - is it the only way?

ttrmw
  • 161
  • 1
  • 12
  • 1
    Could you elaborate a bit "`What's the right way to connect to this application's api/v1/things route with ActiveResource?`" You want to connect to this path from within the application? – Aleks Dec 22 '16 at 15:12
  • Sorry I never responded. Connect to it with ARes from a different rails application. – ttrmw Jan 20 '17 at 15:06

1 Answers1

0

In the end, I implemented custom_method_collection_url. There was no better way that I could discern.

ttrmw
  • 161
  • 1
  • 12