Adding Routes to Rails' Spree E-Commerce

前端 未结 3 1231
别跟我提以往
别跟我提以往 2020-12-05 15:33

I just recently upgraded to 1.0.3, and the routes.rb file in my config/routes folder seems to ignore all my custom routes.

MY routes.rb

         


        
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 16:00

    I encountered the same error and found this solution, which solved it by prefixing main_app, before each of my_paths/_urls. In my case, these were links used in one of the /override.rb files.

    So, try: main_app.about_us_path.

提交回复
热议问题