Skip to content

Commit

Permalink
fix using package provider
Browse files Browse the repository at this point in the history
  • Loading branch information
girardinsamuel committed Jan 5, 2022
1 parent 0b00f5d commit 5a15574
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/masonite/inertia/providers/InertiaProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ class InertiaProvider(PackageProvider):
"""Masonite adapter for Inertia.js Service Provider."""

def configure(self):
(
self.root("src/masonite/inertia")
.name("inertia")
.config("config/inertia.py", publish=True)
)
(self.root("masonite/inertia").name("inertia").config("config/inertia.py", publish=True))
inertia = Inertia(self.application, config("inertia"))
self.application.bind("inertia", inertia)
self.application.make("tests.response").add(InertiaTestingResponse)
Expand Down

0 comments on commit 5a15574

Please sign in to comment.