tag:nakajima.lighthouseapp.com,2009-01-31:/projects/24609-sinatras-hat/eventsnakajima / Sinatra's Hat Events2009-01-31T23:08:07Ztag:nakajima.lighthouseapp.com,2009-01-31:Event/70471582010-04-19T06:58:01-04:002010-04-19T06:58:02-04:00Kim BurgestrandSinatra's Hat: Template language is hard-coded [#2]<div><p><a href=
"http://github.com/nakajima/sinatras-hat/blob/master/lib/sinatras-hat/response.rb#L19">
http://github.com/nakajima/sinatras-hat/blob/master/lib/sinatras-ha...</a></p>
<p>Would be nice if there were some way to specify another template
language. I’d like to use HAML instead of erb. I worked
around it in my own app, but the work-around is not pretty :)</p></div>tag:nakajima.lighthouseapp.com,2009-01-31:Event/23509542009-02-03T06:39:48-05:002009-02-03T06:39:48-05:00Pat NakajimaSinatra's Hat: Resources can only be nested one level [#1]<li>Assigned user set to <em class="change">“Pat Nakajima”</em></li>
<li>State changed from <em class="change">“new”</em> to <em class="change">“resolved”</em></li>
tag:nakajima.lighthouseapp.com,2009-01-31:Event/23310942009-01-31T18:10:50-05:002009-01-31T18:10:50-05:00Pat NakajimaSinatra's Hat: Resources can only be nested one level [#1]<div><p>When nesting resources, this works:</p>
<pre><code class="ruby">
mount Article do
mount Comment
end
</code></pre>
<p>But this does not:</p>
<pre><code class="ruby">
mount Article do
mount Comment do
mount Reply
end
end
</code></pre>
<p>It generates incorrect resource paths. Here's the failing test
case: <a href="http://github.com/nakajima/sinatras-hat/blob/7656e4fef6edeea37c313f364ff664984e65d359/spec/resource_spec.rb#L56-69">
http://github.com/nakajima/sinat...</a>.</p></div>tag:nakajima.lighthouseapp.com,2009-01-31:Event/23310792009-01-31T18:08:07-05:002009-01-31T18:08:05-05:00Pat Nakajima[Page] Sinatra's Hat: Home