Browse Source

Adjusting how javascript is loaded

Now js is loaded per controller
eperez-timeinput
Jason Denney 12 years ago
parent
commit
db6b7ff7da
  1. 3
      app/assets/javascripts/application.js
  2. 0
      app/assets/javascripts/devise/sessions.js
  3. 0
      app/assets/javascripts/site.js
  4. 1
      app/views/layouts/application.html.haml

3
app/assets/javascripts/application.js

@ -12,5 +12,4 @@
//
//= require jquery
//= require jquery_ujs
//= require twitter/bootstrap
//= require_tree .
//= require custom_netzke_helpers

0
app/assets/javascripts/devise/sessions.js

0
app/assets/javascripts/site.js

1
app/views/layouts/application.html.haml

@ -28,3 +28,4 @@
%p © Velocipede 2013
= javascript_include_tag "application"
= javascript_include_tag params[:controller]

Loading…
Cancel
Save