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:
Ursprung
26e4267d23
Commit
f012dc2407
3 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
|
@ -27,7 +27,7 @@ export default class SubscriptionService extends Service {
|
|||
}
|
||||
|
||||
retrieveSubscriptionStatus() {
|
||||
ajax("/admin/subscription").then(result => {
|
||||
ajax("admin/wizards/subscription").then(result => {
|
||||
console.log(result)
|
||||
this.subscribed = result.subscribed;
|
||||
this.subscriptionType = result.subscription_type;
|
||||
|
|
|
@ -14,7 +14,7 @@ Discourse::Application.routes.append do
|
|||
|
||||
scope module: 'custom_wizard', constraints: AdminConstraint.new do
|
||||
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/create' => 'admin#index'
|
||||
|
|
|
@ -37,6 +37,7 @@ after_initialize do
|
|||
../lib/custom_wizard/engine.rb
|
||||
../config/routes.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/submissions.rb
|
||||
../app/controllers/custom_wizard/admin/api.rb
|
||||
|
|
Laden …
In neuem Issue referenzieren