Manifest accessor
Usage
To include the manifest stylesheet file
application.cssin a view file:<html> <head><%= manifest :stylesheet %></head> <body></body> </html>To include the manifest javascript file
application.jsin a view file:<html> <head><%= manifest :script %></head> <body></body> </html>To include both the manifest javascript and stylesheet files in a view file:
<html> <head><%= manifest :stylesheet, :script %></head> <body></body> </html>
Last updated