Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Moved files to their final path
Browse files Browse the repository at this point in the history
  • Loading branch information
jmelis committed Mar 26, 2011
1 parent 7fada3f commit 505da96
Show file tree
Hide file tree
Showing 48 changed files with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fermat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@

arduino = Arduino.new

set :public, 'web'

mime_type :ttf, "application/octet-stream"
mime_type :woff, "application/octet-stream"
mime_type :ggb, "application/octet-stream"

get '/' do
File.read(File.dirname(__FILE__)+'/web/fermat.html')
File.read(File.dirname(__FILE__)+'/templates/fermat.html')
end

get '/questions/:question' do
File.read(File.dirname(__FILE__) + '/web/questions/' + params[:question])
File.read(File.dirname(__FILE__) + '/questions/' + params[:question])
end

# Arduino API
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.

0 comments on commit 505da96

Please sign in to comment.