summaryrefslogtreecommitdiff
path: root/views/index.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/index.haml')
-rw-r--r--views/index.haml16
1 files changed, 0 insertions, 16 deletions
diff --git a/views/index.haml b/views/index.haml
deleted file mode 100644
index b9d78e7..0000000
--- a/views/index.haml
+++ /dev/null
@@ -1,16 +0,0 @@
-%h1 Sinatra File Upload
-
-- if @flash
- = @flash
-
-%form{:action => '/upload', :method => 'post', :enctype => 'multipart/form-data'}
- %p<
- %input{:type => 'file', :name => 'file'}
- %p<
- %input{:type => 'submit', :value => 'Upload'}
-
-%h3 Files
-%ul
- - @files.each do |file|
- %li= "<a href='files/#{file}'>#{file}</a>"
-