0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 01:10:28 +01:00

fix file inclusion

Dieser Commit ist enthalten in:
merefield 2023-09-24 08:25:42 +01:00
Ursprung 26e4267d23
Commit f012dc2407
3 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -27,7 +27,7 @@ export default class SubscriptionService extends Service {
} }
retrieveSubscriptionStatus() { retrieveSubscriptionStatus() {
ajax("/admin/subscription").then(result => { ajax("admin/wizards/subscription").then(result => {
console.log(result) console.log(result)
this.subscribed = result.subscribed; this.subscribed = result.subscribed;
this.subscriptionType = result.subscription_type; this.subscriptionType = result.subscription_type;

Datei anzeigen

@ -14,7 +14,7 @@ Discourse::Application.routes.append do
scope module: 'custom_wizard', constraints: AdminConstraint.new do scope module: 'custom_wizard', constraints: AdminConstraint.new do
get 'admin/wizards' => 'admin#index' get 'admin/wizards' => 'admin#index'
get 'admin/subscription' => 'subscription#index' get 'admin/wizards/subscription' => 'subscription#index'
get 'admin/wizards/wizard' => 'admin_wizard#index' get 'admin/wizards/wizard' => 'admin_wizard#index'
get 'admin/wizards/wizard/create' => 'admin#index' get 'admin/wizards/wizard/create' => 'admin#index'

Datei anzeigen

@ -37,6 +37,7 @@ after_initialize do
../lib/custom_wizard/engine.rb ../lib/custom_wizard/engine.rb
../config/routes.rb ../config/routes.rb
../app/controllers/custom_wizard/admin/admin.rb ../app/controllers/custom_wizard/admin/admin.rb
../app/controllers/custom_wizard/admin/subscription.rb
../app/controllers/custom_wizard/admin/wizard.rb ../app/controllers/custom_wizard/admin/wizard.rb
../app/controllers/custom_wizard/admin/submissions.rb ../app/controllers/custom_wizard/admin/submissions.rb
../app/controllers/custom_wizard/admin/api.rb ../app/controllers/custom_wizard/admin/api.rb