質問

Am creating rails app with comfortable Mexican sofa and devise gem, in that devise path like

 http://localhost:3000/users/sign_up 

it is searching in cms_pages tables, how to solve this?

in my routes.rb file, i used

 ComfortableMexicanSofa::Routing.admin(:path => '/cms-admin')
 ComfortableMexicanSofa::Routing.content(:path => '/', :sitemap => false

thanks in advance.

役に立ちましたか?

解決

Make sure that ComfortableMexicanSofa::Routing.content is defined last. It has a globbing route that clobbers everything defined after it.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top