flip icon indicating copy to clipboard operation
flip copied to clipboard

Ruby 2.3 and Rails 4.2.5 features_url return wrong URL

Open thucnguyen opened this issue 8 years ago • 3 comments

With ruby 2.3 and Rails 4.2.5 features_url in StrategiesController return wrong url. In development environment, it return http://localhost:3000/assets?controller=flip%2Ffeatures

thucnguyen avatar Mar 03 '16 06:03 thucnguyen

If you use it as a namespaced resource just mount the engine like this:

mount Flip::Engine => '/tools/features', as: 'features'

then features_url will work fine

rubyconvict avatar Sep 28 '16 11:09 rubyconvict

Thanks! It looks great. I will give a try when I have chain.

thucnguyen avatar Oct 02 '16 11:10 thucnguyen

It work for me. Thank you, @rubyconvict!

thucnguyen avatar Aug 31 '17 06:08 thucnguyen