Skip to content

Commit

Permalink
lazily imported application file
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed Jun 13, 2018
1 parent 56ca981 commit 648457d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions masonite/providers/AppProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,12 @@
from masonite.routes import Route

from masonite.autoload import Autoload

from config import storage, application
from routes import api, web


class AppProvider(ServiceProvider):

def register(self):
from config import storage, application
self.app.bind('HookHandler', Hook(self.app))
self.app.bind('WebRoutes', flatten_routes(web.ROUTES))
self.app.bind('Response', None)
Expand Down

0 comments on commit 648457d

Please sign in to comment.