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

newbiechang · December 08, 2014 · 1342 hits

各位高手在线急等帮助啊,我安装完 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
    No Reply at the moment.
    You need to Sign in before reply, if you don't have an account, please Sign up first.