How to set config.action_controller.default_url_options = {:host = '#''} on per environment basis

前端 未结 7 857
再見小時候
再見小時候 2020-12-12 22:20

Right now I\'m using this which works for the development host, but I have to manually change the {:host => \"\"} code when I move to production.

post.rb



        
7条回答
提交回复
热议问题