summaryrefslogtreecommitdiff
path: root/views/index.haml
diff options
context:
space:
mode:
authortbuehlmann <tobias.buehlmann@gmx.de>2013-02-03 09:30:16 +0100
committertbuehlmann <tobias.buehlmann@gmx.de>2013-02-03 09:30:16 +0100
commit98bfd0502409f5b41975aae224d05296c0ea173b (patch)
tree1856d0948df659875a6d07626ea074065df74bfe /views/index.haml
parent03c619322017a60c27b516a925a75c2c5dc8c2dd (diff)
Several things.
- Using Slim instead of Haml. - Having a before filter for having flash functionality. - Using Bundler.
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>"
-