Skip to content

Commit

Permalink
Automatically include js files using relative paths
Browse files Browse the repository at this point in the history
This is consistent with how we automatically include CSS files and makes
the system more flexible.
  • Loading branch information
mocoso committed Feb 7, 2010
1 parent 66c3546 commit e44757b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/index.erb
Expand Up @@ -26,7 +26,7 @@
<% end %>
<% js_files.each do |js_file| %>
<script type="text/javascript" src="/file/<%= js_file %>"></script>
<script type="text/javascript" src="file/<%= js_file %>"></script>
<% end %>

<script type="text/javascript">
Expand Down

0 comments on commit e44757b

Please sign in to comment.