mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-02-07 12:18:09 +00:00
* add new route for card update * create backend route * update label * basic functionality working * ran rubocop * added rspec tests for functionality * make payment_method param compulsory * fixed js linting * improve client side error handling * improve server side error handling * improved update card page UI * improve button UI for user subscriptions page * give feedback to user about save status * remove heading from last column * fix padding on edit/delete buttons for update table Co-authored-by: Blake Erickson <o.blakeerickson@gmail.com>
13 lines
289 B
JavaScript
13 lines
289 B
JavaScript
export default {
|
|
resource: "user",
|
|
path: "users/:username",
|
|
map() {
|
|
this.route("billing", function () {
|
|
this.route("payments");
|
|
this.route("subscriptions", function () {
|
|
this.route("card", { path: "/card/:stripe-subscription-id" });
|
|
});
|
|
});
|
|
},
|
|
};
|