Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Justin Soliz's Profile

GitHub User: justinsoliz

Site: http://www.justinsoliz.com

Comments by Justin Soliz

Avatar

if you want controller specific scripts or stylesheets, you can do something like this:

ruby
javascript_include_tag params[:controller]
ruby
stylesheet_link_tag params[:controller]