Staticfy icon indicating copy to clipboard operation
Staticfy copied to clipboard

Add support for Rails

Open danidee10 opened this issue 9 years ago • 0 comments

I don't have any experience with rails.

but by googling around, i found out that rails links look like this

<%= stylesheet_link_tag "filename" %> // for css

<%= javascript_include_tag "customjsFile", "data-turbolinks-track" => true  %> // for js 

<%= image_tag("rss.jpg", :alt => "rss feed") %> // for images

This differs from python frameworks where you have to write the enclosing html by yourself

e.g <script>{{url_generator}}</script>

In the case of rails the <script> tags are generated for you.

danidee10 avatar Nov 06 '16 23:11 danidee10