Skip to content

Commit

Permalink
Fix relative links
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Dec 17, 2013
1 parent ab682ac commit 071aac6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config.rb
Expand Up @@ -5,6 +5,9 @@

activate :directory_indexes

activate :relative_assets
set :relative_links, true

set :css_dir, 'stylesheets'

set :js_dir, 'javascripts'
Expand Down
2 changes: 1 addition & 1 deletion source/javascripts/application.js.rb
Expand Up @@ -66,7 +66,7 @@ def run_code
</head>
<body>
#{html}
<script src="/javascripts/result_boot.js"></script>
<script src="javascripts/result_boot.js"></script>
<script>
#{javascript}
</script>
Expand Down

0 comments on commit 071aac6

Please sign in to comment.