Add about page with feedback functionality
This commit is contained in:
@@ -31,6 +31,10 @@ App.ApplicationRoute = Ember.Route.extend
|
||||
body: options.body
|
||||
cancel: options.cancel
|
||||
ok: options.ok
|
||||
sendFeedback: (feedback, callback)->
|
||||
return unless feedback
|
||||
$.post $user_feedback_path, feedback: feedback, callback
|
||||
|
||||
listNeedsPayment: ->
|
||||
@get('controller').secured ->
|
||||
@set 'list.needs_payment', true
|
||||
|
||||
Reference in New Issue
Block a user