lib/quickapps_feedback.rb in quickapps_feedback-0.1.1 vs lib/quickapps_feedback.rb in quickapps_feedback-0.1.2
- old
+ new
@@ -1,14 +1,13 @@
require 'quickapps_feedback/version'
require 'quickapps_feedback/feedback'
require 'quickapps_feedback/send_feedback_to_uservoice'
require 'sinatra/base'
+require 'sinatra/flash'
module QuickappsFeedback
class App < Sinatra::Base
- def flash
- request.flash
- end
+ register Sinatra::Flash
get '/feedback' do
erb :index
end