On Wed, Aug 24, 2011 at 12:35 AM, Jayme Edwards <[email protected]>wrote:

> Hey guys,
>
> I've got a rails app using Knockout.js and Path.js to do the UI, so all the
> HTML is built as separate HTML fragments that are dynamically downloaded by
> the browser and applied using JQuery templating. I LOVE haml and want to use
> it to write these templates, but I have no need for inline ruby or access to
> the controller and would prefer not to have to build routes just to serve
> them. Is there a way to use HAML outside of views, in the assets folder or
> the public folder that wouldn't require me defining separate routes, but
> will still allow me to use it in development while deploying the generated
> HTML to production? I know this could be a question for the HAML group but I
> have a feeling it may have something to do with a configuration of the asset
> pipeline. I'm using 3.1 RC6.
>
>
I believe haml install an haml executable which you can use to convert haml
files to html.
You might want to check that out if that suits your needs :)


> Thanks in advance,
>
> Jayme
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/aPQ4fuJ44CYJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>



-- 
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to