Sha256: 2ca41ca2ba36c847833e4711629a54070a51f1871659a2c58c3f841fc082d07d
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
Volontariat.CommunityEditCategoryRoute = Ember.Route.extend model: (params) -> @controllerFor('community.edit_category').set 'communitySlug', @modelFor('community').slug @controllerFor('community.edit_category').set 'categorySlug', params.category_slug Ember.$.getJSON("/api/v1/community_categories/#{params.category_slug}?community_slug=#{@modelFor('community').slug}").then (json) => @controllerFor('community.edit_category').set 'name', json.community_category.name json.community_category
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
voluntary_feedback-0.1.0 | app/assets/javascripts/voluntary_feedback/routes/community/edit_category_route.js.coffee |