<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>newbiechang (chang)</title>
    <link>https://ruby-china.org/newbiechang</link>
    <description/>
    <language>en-us</language>
    <item>
      <title>在线急等高手回复安装完 “gem 'fullcalendar_engine'” undefined local variable or method 问题</title>
      <description>&lt;p&gt;各位高手在线急等帮助啊，我安装完 gem 'fullcalendar_engine' 只要一到&lt;a href="http://localhost:3000/calendar" rel="nofollow" target="_blank"&gt;http://localhost:3000/calendar&lt;/a&gt; 就会提示 undefined local variable or method `clients_path'  问题。在其他页面使用导航完全正常，部分代码如下。如果在 demo 范例中创建新的 model 也无问题，就是在我的 app 中加入这个 Gem 后会出现。routes 中也写了 resources :clients 求助啊 完全不知道哪里错了
&amp;lt;% if user_signed_in? %&amp;gt;
  &lt;/p&gt;&lt;li&gt;&amp;lt;%= link_to 'Dashboard', root_path %&amp;gt;&lt;/li&gt;
  &lt;li&gt;&amp;lt;%= link_to 'Client', clients_path %&amp;gt;&lt;/li&gt;
  &lt;li&gt;&amp;lt;%= link_to 'Patient', patients_all_path %&amp;gt;&lt;/li&gt;
  &lt;li&gt;&amp;lt;%= link_to 'Schedule', fullcalendar_engine_path %&amp;gt;&lt;/li&gt;
  &lt;li&gt;&amp;lt;%= link_to 'Sell' %&amp;gt;&lt;/li&gt;
  &lt;li&gt;&amp;lt;%= link_to 'Hospital' %&amp;gt;&lt;/li&gt;
  &lt;li&gt;&amp;lt;%= link_to 'Boarding' %&amp;gt;&lt;/li&gt;
  &lt;li&gt;
  &lt;/li&gt;&lt;li&gt;
    &lt;p class="navbar-text"&gt;
      &amp;lt;%= current_user.FName %&amp;gt;
    &lt;/p&gt;
  &lt;/li&gt;
该 gem 网站：&lt;a href="https://github.com/vinsol/fullcalendar-rails-engine" rel="nofollow" target="_blank"&gt;https://github.com/vinsol/fullcalendar-rails-engine&lt;/a&gt;</description>
      <author>newbiechang</author>
      <pubDate>Mon, 08 Dec 2014 05:11:27 +0800</pubDate>
      <link>https://ruby-china.org/topics/23072</link>
      <guid>https://ruby-china.org/topics/23072</guid>
    </item>
  </channel>
</rss>
