Skip to content

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

@biomade

Description

@biomade

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions