Skip to content
Automatically includes css and javascript files into your Rails project based on the controller name. http://www.timmatheson.com
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
CHANGELOG
README.rdoc
Rakefile
asset_autoinclude_helper.gemspec
init.rb

README.rdoc

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.

Something went wrong with that request. Please try again.