Sha256: cee05fe68735e44299af1937555edae7db7127b46f64102520af23e506f9f1db
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 Bytes
Contents
Volontariat.CommunityNewFeedbackRoute = Ember.Route.extend model: (params) -> @controllerFor('community.new_feedback').set 'communitySlug', @modelFor('community').slug Ember.$.getJSON( "/api/v1/community_categories.json?community_slug=#{@modelFor('community').slug}" ).then (json) => @controllerFor('community.new_feedback').set 'categories', json.community_categories
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
voluntary_feedback-0.1.0 | app/assets/javascripts/voluntary_feedback/routes/community/new_feedback_route.js.coffee |