Rails 在线急等高手回复安装完 “gem 'fullcalendar_engine'” undefined local variable or method 问题

newbiechang · 2014年12月08日 · 1333 次阅读

各位高手在线急等帮助啊,我安装完 gem 'fullcalendar_engine' 只要一到http://localhost:3000/calendar 就会提示 undefined local variable or method `clients_path' 问题。在其他页面使用导航完全正常,部分代码如下。如果在 demo 范例中创建新的 model 也无问题,就是在我的 app 中加入这个 Gem 后会出现。routes 中也写了 resources :clients 求助啊 完全不知道哪里错了 <% if user_signed_in? %>

  • <%= link_to 'Dashboard', root_path %>
  • <%= link_to 'Client', clients_path %>
  • <%= link_to 'Patient', patients_all_path %>
  • <%= link_to 'Schedule', fullcalendar_engine_path %>
  • <%= link_to 'Sell' %>
  • <%= link_to 'Hospital' %>
  • <%= link_to 'Boarding' %>
  • 该 gem 网站:https://github.com/vinsol/fullcalendar-rails-engine
    暂无回复。
    需要 登录 后方可回复, 如果你还没有账号请 注册新账号