Skip to content

xpressivecode/iron-router-output

Folders and files

NameName
Last commit message
Last commit date
Jan 1, 2014
Jan 1, 2014
Oct 5, 2013
Oct 3, 2013
Oct 4, 2013
Oct 3, 2013
Oct 6, 2013
Jan 1, 2014
Oct 5, 2013

Repository files navigation

#Iron Router Output

Automatically builds an Iron-Router route that will output the routes currently registered in your application.

#Basics

Simple install the package mrt add iron-router-output after, if you wish to view the routes registered to Iron-Router pass in the routesUri configuration option.

Router.config({
    ...
    routesUri: '_routes'
});

now you can navigate to http://localhost:3000/_routes (or whatever your apps url is).

#Example Output

Name	Path	Controller	Action
_router_uri	/_routes	IronRouterOutputController	index
items	/items	itemsController	index
edit-item	/items/edit/:id	itemsController	edit
show-item	/items/:id	itemsController	show
new-item	/items/new	itemsController	new
create-item	/items/create	itemsController	create
delete-item	/items/delete/:id	itemsController	delete
destroy-item	/items/destroy/:id	itemsController	destroy

About

Route output module for iron-router

Resources

License

Stars

Watchers

Forks

Packages

No packages published