Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify craft controller command #783

Closed
eaguad1337 opened this issue Dec 15, 2023 · 0 comments · Fixed by #784
Closed

Modify craft controller command #783

eaguad1337 opened this issue Dec 15, 2023 · 0 comments · Fixed by #784
Labels

Comments

@eaguad1337
Copy link
Member

Describe the bug

The craft controller command creates a controller that returns a view named "" (empty string). It confuses the people that are learning about the framework.

Expected behaviour

I suggest to make welcome the default view for controllers

Steps to reproduce the bug

  1. use craft make controller
  2. See that the controller return view.render("")

Screenshots

No response

OS

macOS

OS version

Sonoma 14.1.2

Browser

No response

Masonite Version

4.19.1

Anything else ?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant