This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
jamied (author)
Fri Feb 15 02:30:15 -0800 2008
| name | age | message | |
|---|---|---|---|
| |
README | ||
| |
Rakefile | Fri Feb 15 02:30:15 -0800 2008 | |
| |
init.rb | Fri Feb 15 02:30:15 -0800 2008 | |
| |
install.rb | ||
| |
lib/ | ||
| |
tasks/ | Fri Feb 15 03:09:05 -0800 2008 | |
| |
test/ | Fri Feb 15 02:30:15 -0800 2008 | |
| |
uninstall.rb | Fri Feb 15 02:30:15 -0800 2008 |
README
JavascriptAutoInclude ===================== == Resources Install * Run the following command: script/plugin install http://kernowsoul.com/svn/plugins/javascript_auto_include == Usage Add the following to the head of your template file <%= javascript_auto_include_tags %> Now each time the template is loaded javascript files in the public/javascripts/views folder that correspond to the name of the current controller or view will be auto loaded. For example: /public /javascripts /views users.js /users edit.js roles.js /accounts show.js Assuming the above file structure loading each of the following urls would load: mydomain.com/users # loads users.js mydomain.com/users/edit/1 # loads users.js and edit.js mydomain.com/users/show/1 # loads users.js mydomain.com/roles # loads roles.js mydomain.com/accounts # no js files loaded mydomain.com/accounts/show/1 # loads show.js == More http://hosting.media72.co.uk/blog/








