开发者

rails typus routing error when creating user

开发者 https://www.devze.com 2023-03-20 14:22 出处:网络
i installed typus for a small rails application and i want to setup auth via mysql database and I followed the steps on the typus wiki sites. Everything works fine, but when I want to login to admin:

i installed typus for a small rails application and i want to setup auth via mysql database and I followed the steps on the typus wiki sites. Everything works fine, but when I want to login to admin: localhost:3000/admin I have to enter an e-mail address and the开发者_开发知识库n I'll be routed to: http://localhost:3000/admin/account/new but I get a routing error. In my routes.rb config file I have only this line enabled: match ':controller(/:action(/:id(.:format)))'

I couldn't find any help. Thanks for any advice!


did you do all the installation steps? please copy-paste the output here:

  1. rake routes
  2. cat Gemfile |grep typus
  3. cat config/routes
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号