Skip to content

Commit

Permalink
Merge pull request #776 from eaguad1337/feat/775
Browse files Browse the repository at this point in the history
feat #775 add env to templates
  • Loading branch information
josephmancuso authored Dec 6, 2023
2 parents 85017ef + da00017 commit 5eb3e10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/masonite/providers/ViewProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from .Provider import Provider
from ..helpers import UrlsHelper, MixHelper, optional
from ..configuration import config
from ..environment import env


class ViewProvider(Provider):
Expand All @@ -24,6 +25,7 @@ def register(self):
"config": config,
"exists": view.exists,
"optional": optional,
"env": env,
}
)

Expand Down

0 comments on commit 5eb3e10

Please sign in to comment.