我有一个基于SAAS
此处托管的条带应用程序的 rails 应用程序:
http://railsapps.github.com/rails-recurly-subscription-saas/
我为此添加了 twitter 引导程序,并且我的路径不再创建链接。
例如我的路由文件有:
resources :users
但是没有 users_path 在我的 erb 文件中创建指向该位置的链接
<%= link_to 'Admin', users_path %>
我可以提供任何想法或其他信息吗?
耙路线:
E:\Sites>rake routes
stripe_event /stripe StripeEvent::Engine
content_gold GET /content/gold(.:format) content#gold
content_silver GET /content/silver(.:format) content#silver
content_platinum GET /content/platinum(.:format) content#platinum
root / home#index
root / home#index
new_user_session GET /users/sign_in(.:format) devise/sessions#new
user_session POST /users/sign_in(.:format) devise/sessions#create
destroy_user_session DELETE /users/sign_out(.:format) devise/sessions#destroy
user_password POST /users/password(.:format) devise/passwords#create
new_user_password GET /users/password/new(.:format) devise/passwords#new
edit_user_password GET /users/password/edit(.:format) devise/passwords#edit
PUT /users/password(.:format) devise/passwords#update
cancel_user_registration GET /users/cancel(.:format) registrations#cancel
user_registration POST /users(.:format) registrations#create
new_user_registration GET /users/sign_up(.:format) registrations#new
edit_user_registration GET /users/edit(.:format) registrations#edit
PUT /users(.:format) registrations#update
DELETE /users(.:format) registrations#destroy
update_plan PUT /update_plan(.:format) registrations#update_plan
update_card PUT /update_card(.:format) registrations#update_card
users GET /users(.:format) users#index
POST /users(.:format) users#create
new_user GET /users/new(.:format) users#new
edit_user GET /users/:id/edit(.:format) users#edit
user GET /users/:id(.:format) users#show
PUT /users/:id(.:format) users#update
DELETE /users/:id(.:format) users#destroy