eucalypt
Search…
Manifest accessor

Usage

    To include the manifest stylesheet file application.css in a view file:
    1
    <html>
    2
    <head><%= manifest :stylesheet %></head>
    3
    <body></body>
    4
    </html>
    Copied!
    To include the manifest javascript file application.js in a view file:
    1
    <html>
    2
    <head><%= manifest :script %></head>
    3
    <body></body>
    4
    </html>
    Copied!
    To include both the manifest javascript and stylesheet files in a view file:
    1
    <html>
    2
    <head><%= manifest :stylesheet, :script %></head>
    3
    <body></body>
    4
    </html>
    Copied!
Last modified 2yr ago
Copy link