display nicer error messages for POST /upload
authorLunar <lunar@anargeek.net>
Tue, 28 Feb 2012 23:20:26 +0000 (00:20 +0100)
committerLunar <lunar@anargeek.net>
Thu, 14 Mar 2013 09:12:08 +0000 (10:12 +0100)
commit11929b4ca64a877da1fbe3ef4e48248c55c5772a
tree11449b4cffad41f8a57de47adcea739ba843e02e
parenta8d2a8ef2c7e0719521eba6e14019f2298abe3d9
display nicer error messages for POST /upload

We factor out view helpers in Coquelicot::Helpers in order to make them
available from both Coquelicot::Application and Coquelicot::Rack::Upload.
lib/coquelicot.rb
lib/coquelicot/app.rb
lib/coquelicot/helpers.rb [new file with mode: 0644]
lib/coquelicot/rack/upload.rb
spec/coquelicot/rack/upload_spec.rb