Skip to content

Automatically includes css and javascript files into your Rails project based on the controller name.

Notifications You must be signed in to change notification settings

timmatheson/asset_autoinclude_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage =======================================

<%= asset_autoinclude_tag %>

Prerequisites ===============================

You need to create files named after your controllers. For example a controller with the name BooksController You would create books.js and books.css This keeps your javascript and css logic in the correct places. If you practice unobtrusive css and javascript methods in your development practice this should clean things up quite a bit.

About

Automatically includes css and javascript files into your Rails project based on the controller name.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages