<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">887</assigned-user-id>
  <attachments-count type="integer">0</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2008-06-20T07:16:54-04:00</created-at>
  <creator-id type="integer">24016</creator-id>
  <milestone-due-on type="datetime" nil="true"></milestone-due-on>
  <milestone-id type="integer" nil="true"></milestone-id>
  <number type="integer">11</number>
  <permalink>no-controller-for-javascript-stylesheets-images</permalink>
  <priority type="integer">19400</priority>
  <project-id type="integer">10532</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>resolved</state>
  <tag>feather permalink rack routes</tag>
  <title>No controller for javascript, stylesheets, images</title>
  <updated-at type="datetime">2008-06-23T04:57:08-04:00</updated-at>
  <user-id type="integer">887</user-id>
  <user-name>Alexander Flatter</user-name>
  <creator-name>theworkisdone</creator-name>
  <assigned-user-name>Alexander Flatter</assigned-user-name>
  <url>http://feather.lighthouseapp.com/projects/10532/tickets/11</url>
  <original-body>Seems there a routing problems in current trunk.

@@@ 

Start: Fri Jun 20 13:08:59 +0200 2008
 ~ SELECT &quot;id&quot;, &quot;title&quot;, &quot;content&quot;, &quot;created_at&quot;, &quot;published_at&quot;, &quot;user_id&quot;, &quot;permalink&quot;, &quot;published&quot;, &quot;formatter&quot; FROM &quot;articles&quot; WHERE &quot;permalink&quot; = '/javascripts/application.js' ORDER BY &quot;id&quot; LIMIT 1
 ~ Routed to: {:controller=&gt;&quot;javascripts&quot;, :format=&gt;&quot;js&quot;, :action=&gt;&quot;application&quot;, :id=&gt;nil}
 ~ Controller 'Javascripts' not found - (Merb::ControllerExceptions::NotFound)

@@@</original-body>
  <latest-body>Seems there a routing problems in current trunk.

@@@ 

Start: Fri Jun 20 13:08:59 +0200 2008
 ~ SELECT &quot;id&quot;, &quot;title&quot;, &quot;content&quot;, &quot;created_at&quot;, &quot;published_at&quot;, &quot;user_id&quot;, &quot;permalink&quot;, &quot;published&quot;, &quot;formatter&quot; FROM &quot;articles&quot; WHERE &quot;permalink&quot; = '/javascripts/application.js' ORDER BY &quot;id&quot; LIMIT 1
 ~ Routed to: {:controller=&gt;&quot;javascripts&quot;, :format=&gt;&quot;js&quot;, :action=&gt;&quot;application&quot;, :id=&gt;nil}
 ~ Controller 'Javascripts' not found - (Merb::ControllerExceptions::NotFound)

@@@</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;
Seems there a routing problems in current trunk.
&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;&quot;&gt;
Start: Fri Jun 20 13:08:59 +0200 2008
 ~ SELECT &amp;quot;id&amp;quot;, &amp;quot;title&amp;quot;, &amp;quot;content&amp;quot;, &amp;quot;created_at&amp;quot;, &amp;quot;published_at&amp;quot;, &amp;quot;user_id&amp;quot;, &amp;quot;permalink&amp;quot;, &amp;quot;published&amp;quot;, &amp;quot;formatter&amp;quot; FROM &amp;quot;articles&amp;quot; WHERE &amp;quot;permalink&amp;quot; = '/javascripts/application.js' ORDER BY &amp;quot;id&amp;quot; LIMIT 1
 ~ Routed to: {:controller=&amp;gt;&amp;quot;javascripts&amp;quot;, :format=&amp;gt;&amp;quot;js&amp;quot;, :action=&amp;gt;&amp;quot;application&amp;quot;, :id=&amp;gt;nil}
 ~ Controller 'Javascripts' not found - (Merb::ControllerExceptions::NotFound)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Seems there a routing problems in current trunk.

@@@ 

Start: Fri Jun 20 13:08:59 +0200 2008
 ~ SELECT &quot;id&quot;, &quot;title&quot;, &quot;content&quot;, &quot;created_at&quot;, &quot;published_at&quot;, &quot;user_id&quot;, &quot;permalink&quot;, &quot;published&quot;, &quot;formatter&quot; FROM &quot;articles&quot; WHERE &quot;permalink&quot; = '/javascripts/application.js' ORDER BY &quot;id&quot; LIMIT 1
 ~ Routed to: {:controller=&gt;&quot;javascripts&quot;, :format=&gt;&quot;js&quot;, :action=&gt;&quot;application&quot;, :id=&gt;nil}
 ~ Controller 'Javascripts' not found - (Merb::ControllerExceptions::NotFound)

@@@</body>
      <body-html>&lt;div&gt;&lt;p&gt;Seems there a routing problems in current trunk.&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;

Start: Fri Jun 20 13:08:59 +0200 2008
 ~ SELECT &amp;quot;id&amp;quot;, &amp;quot;title&amp;quot;, &amp;quot;content&amp;quot;, &amp;quot;created_at&amp;quot;, &amp;quot;published_at&amp;quot;, &amp;quot;user_id&amp;quot;, &amp;quot;permalink&amp;quot;, &amp;quot;published&amp;quot;, &amp;quot;formatter&amp;quot; FROM &amp;quot;articles&amp;quot; WHERE &amp;quot;permalink&amp;quot; = '/javascripts/application.js' ORDER BY &amp;quot;id&amp;quot; LIMIT 1
 ~ Routed to: {:controller=&amp;gt;&amp;quot;javascripts&amp;quot;, :format=&amp;gt;&amp;quot;js&amp;quot;, :action=&amp;gt;&amp;quot;application&amp;quot;, :id=&amp;gt;nil}
 ~ Controller 'Javascripts' not found - (Merb::ControllerExceptions::NotFound)

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-06-20T07:16:55-04:00</created-at>
      <creator-id type="integer">24016</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">11</number>
      <permalink>no-controller-for-javascript-stylesheets-images</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">10532</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>No controller for javascript, stylesheets, images</title>
      <updated-at type="datetime">2008-10-11T01:26:13-04:00</updated-at>
      <user-id type="integer">24016</user-id>
      <user-name>theworkisdone</user-name>
      <creator-name>theworkisdone</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://feather.lighthouseapp.com/projects/10532/tickets/11</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Sorry, i&#8217;ve messed up my nginx conf. Problem solved.</body>
      <body-html>&lt;div&gt;&lt;p&gt;
Sorry, i&#8217;ve messed up my nginx conf. Problem solved.
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-06-20T07:37:43-04:00</created-at>
      <creator-id type="integer">24016</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">11</number>
      <permalink>no-controller-for-javascript-stylesheets-images</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">10532</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>No controller for javascript, stylesheets, images</title>
      <updated-at type="datetime">2008-06-20T07:37:43-04:00</updated-at>
      <user-id type="integer">24016</user-id>
      <user-name>theworkisdone</user-name>
      <creator-name>theworkisdone</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://feather.lighthouseapp.com/projects/10532/tickets/11</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">23639</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I'm slightly inclined to believe that our Permalink router is a little too overzealous, and should be hardcoded to pass through for static resources such as stylesheets, javascript.. etc.

The current behaviour unfortunately breaks display out of the box, unless you put something like apache2/nginx in front of your Mongrel to serve up the static content.</body>
      <body-html>&lt;div&gt;&lt;p&gt;
I'm slightly inclined to believe that our Permalink router is a little too overzealous, and should be hardcoded to pass through for static resources such as stylesheets, javascript.. etc.
&lt;/p&gt;&lt;p&gt;
The current behaviour unfortunately breaks display out of the box, unless you put something like apache2/nginx in front of your Mongrel to serve up the static content.
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-06-22T19:34:21-04:00</created-at>
      <creator-id type="integer">24016</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">11</number>
      <permalink>no-controller-for-javascript-stylesheets-images</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">10532</project-id>
      <state>open</state>
      <tag nil="true"></tag>
      <title>No controller for javascript, stylesheets, images</title>
      <updated-at type="datetime">2008-06-22T19:34:21-04:00</updated-at>
      <user-id type="integer">23639</user-id>
      <user-name>AJ</user-name>
      <creator-name>theworkisdone</creator-name>
      <assigned-user-name>AJ</assigned-user-name>
      <url>http://feather.lighthouseapp.com/projects/10532/tickets/11</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">887</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>19:46 &lt; aflatter&gt; fujin: I just edited the rack file (re: Stylesheets controller issue)
20:22 &lt; fujin&gt; aflatter: nice work
20:23 &lt; fujin&gt; aflatter: pointing ticket at you</body>
      <body-html>&lt;div&gt;&lt;p&gt;
19:46 &amp;lt; aflatter&gt; fujin: I just edited the rack file (re: Stylesheets controller issue)
&lt;/p&gt;&lt;p&gt;
20:22 &amp;lt; fujin&gt; aflatter: nice work
&lt;/p&gt;&lt;p&gt;
20:23 &amp;lt; fujin&gt; aflatter: pointing ticket at you
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-06-23T04:23:31-04:00</created-at>
      <creator-id type="integer">24016</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 23639
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">11</number>
      <permalink>no-controller-for-javascript-stylesheets-images</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">10532</project-id>
      <state>open</state>
      <tag nil="true"></tag>
      <title>No controller for javascript, stylesheets, images</title>
      <updated-at type="datetime">2008-06-23T04:23:31-04:00</updated-at>
      <user-id type="integer">23639</user-id>
      <user-name>AJ</user-name>
      <creator-name>theworkisdone</creator-name>
      <assigned-user-name>Alexander Flatter</assigned-user-name>
      <url>http://feather.lighthouseapp.com/projects/10532/tickets/11</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">887</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>To be more clear: Remove the following comment in config/rack.ru.

@@@
...

# comment this out if you are running merb behind a load balancer
# that serves static files
# use Merb::Rack::Static, Merb.dir_for(:public)

...
@@@</body>
      <body-html>&lt;div&gt;&lt;p&gt;
To be more clear: Remove the following comment in config/rack.ru.
&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;&quot;&gt;...

# comment this out if you are running merb behind a load balancer
# that serves static files
# use Merb::Rack::Static, Merb.dir_for(:public)

...&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-06-23T04:46:17-04:00</created-at>
      <creator-id type="integer">24016</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">11</number>
      <permalink>no-controller-for-javascript-stylesheets-images</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">10532</project-id>
      <state>open</state>
      <tag nil="true"></tag>
      <title>No controller for javascript, stylesheets, images</title>
      <updated-at type="datetime">2008-06-23T04:46:17-04:00</updated-at>
      <user-id type="integer">887</user-id>
      <user-name>Alexander Flatter</user-name>
      <creator-name>theworkisdone</creator-name>
      <assigned-user-name>Alexander Flatter</assigned-user-name>
      <url>http://feather.lighthouseapp.com/projects/10532/tickets/11</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">887</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-06-23T04:46:29-04:00</created-at>
      <creator-id type="integer">24016</creator-id>
      <diffable-attributes type="yaml">--- 
:state: open
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">11</number>
      <permalink>no-controller-for-javascript-stylesheets-images</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">10532</project-id>
      <state>resolved</state>
      <tag nil="true"></tag>
      <title>No controller for javascript, stylesheets, images</title>
      <updated-at type="datetime">2008-06-23T04:46:29-04:00</updated-at>
      <user-id type="integer">887</user-id>
      <user-name>Alexander Flatter</user-name>
      <creator-name>theworkisdone</creator-name>
      <assigned-user-name>Alexander Flatter</assigned-user-name>
      <url>http://feather.lighthouseapp.com/projects/10532/tickets/11</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">887</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I did create a FAQ wiki page and put the solution on it.
See http://github.com/mleung/feather/wikis/faq</body>
      <body-html>&lt;div&gt;&lt;p&gt;
I did create a FAQ wiki page and put the solution on it.
&lt;/p&gt;&lt;p&gt;
See &lt;a href=&quot;http://github.com/mleung/feather/wikis/faq&quot;&gt;http://github.com/mleung/feather...&lt;/a&gt;
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-06-23T04:57:07-04:00</created-at>
      <creator-id type="integer">24016</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">11</number>
      <permalink>no-controller-for-javascript-stylesheets-images</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">10532</project-id>
      <state>resolved</state>
      <tag nil="true"></tag>
      <title>No controller for javascript, stylesheets, images</title>
      <updated-at type="datetime">2008-06-23T04:57:07-04:00</updated-at>
      <user-id type="integer">887</user-id>
      <user-name>Alexander Flatter</user-name>
      <creator-name>theworkisdone</creator-name>
      <assigned-user-name>Alexander Flatter</assigned-user-name>
      <url>http://feather.lighthouseapp.com/projects/10532/tickets/11</url>
    </version>
  </versions>
</ticket>
