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

FYI - Duplicated controllers are added to the Index.js #11

Open
biomade opened this issue Apr 28, 2017 · 0 comments
Open

FYI - Duplicated controllers are added to the Index.js #11

biomade opened this issue Apr 28, 2017 · 0 comments

Comments

@biomade
Copy link

biomade commented Apr 28, 2017

I am now using the cli CRUD function to add my controllers and routes and noticed that two entries are being created in the index.html.

Here is the info from the CRUD creation:

C:\WorkshopManager>basel-crud workshop
? What is the database table? workshop
? What is the route way? workshop
Connected in database
Creating view...
Route renamed for workshop_1
View created!
Creating controller...
Controller created!

CRUD created!

And here is what is now in the index.html

	<script src="app.js"></script>

	<!-- Controllers -->
	<script src="controllers/mainController.js"></script><script src="controllers/workshopController.js"></script>
	<script src="controllers/addressController.js"></script>
	<script src="controllers/workshopController.js"></script>

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

No branches or pull requests

1 participant