Skip to content

Commit

Permalink
🐛 Actually load the core routes
Browse files Browse the repository at this point in the history
  • Loading branch information
skerit committed Feb 8, 2024
1 parent 1580c45 commit 9e6922a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 11 deletions.
26 changes: 26 additions & 0 deletions lib/app/config/routes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Router.add({
name : 'APIResource',
paths : '/api/{action}',
handler : 'Api#{action}',
methods : ['get', 'post'],
visible_location : false,
is_system_route : true,
});

Router.add({
name : 'AlchemyInfo',
paths : '/alchemy-info',
handler : 'AlchemyInfo#info',
methods : ['get'],
is_system_route : true,
});

Router.POSTPONED_ROUTE = Router.add({
name : 'AlchemyInfo#postponed',
paths : '/alchemy/postponed/{id}',
methods : ['get'],
can_be_postponed : false,
is_system_route : true,
});

Router.linkup('Syncable#linkup', 'syncablelink', 'AlchemyInfo#syncable');
11 changes: 0 additions & 11 deletions lib/app/routes.js

This file was deleted.

0 comments on commit 9e6922a

Please sign in to comment.