Skip to content

Commit

Permalink
changing the dir structure
Browse files Browse the repository at this point in the history
  • Loading branch information
asmuth committed May 10, 2012
1 parent adc426e commit 2098d97
Show file tree
Hide file tree
Showing 50 changed files with 2 additions and 76 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
57 changes: 0 additions & 57 deletions exp/server.rb

This file was deleted.

17 changes: 0 additions & 17 deletions exp/test.html

This file was deleted.

4 changes: 2 additions & 2 deletions lib/fnordmetric/web/app.rb
Expand Up @@ -77,7 +77,7 @@ def current_namespace
end

get '/' do
::File.open(::File.expand_path("../../../../pub/fnordmetric.html", __FILE__)).read
::File.open(::File.expand_path("../../../../web/fnordmetric.html", __FILE__)).read
end

get '/:namespace' do
Expand Down Expand Up @@ -165,7 +165,7 @@ def current_namespace
@@public_files.each do |public_file, public_file_type|
get "/#{public_file}" do
content_type(public_file_type)
::File.open(::File.expand_path("../../../../pub/#{public_file}", __FILE__)).read
::File.open(::File.expand_path("../../../../web/#{public_file}", __FILE__)).read
end
end
private
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2098d97

Please sign in to comment.