Skip to content

Commit

Permalink
Cleaned up routes, added some more default features in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Janssen committed Aug 10, 2014
1 parent 1fe519a commit 2341679
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ silex-rest
- Easy setup for a RESTful API
- Uses [Doctrine](http://doctrine-project.org) and [JMS Serializer](http://jmsyst.com/libs/serializer)
- Completly configurable with routes
- Swagger for API documentation
- Completly customizable by event driven design

## Installation

Expand Down
12 changes: 4 additions & 8 deletions app/config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
),
'value' => array(
'namespace' => 'core',
'entity' => 'items',
'validator' => 'Example\Validator\ItemsValidator'
'entity' => 'items'
)
),
array(
Expand All @@ -45,8 +44,7 @@
),
'value' => array(
'namespace' => 'core',
'entity' => 'items',
'validator' => 'Example\Validator\ItemsValidator'
'entity' => 'items'
)
),
array(
Expand All @@ -60,8 +58,7 @@
),
'value' => array(
'namespace' => 'core',
'entity' => 'categories',
'validator' => 'Example\Validator\CategoriesValidator'
'entity' => 'categories'
)
),
array(
Expand All @@ -72,8 +69,7 @@
),
'value' => array(
'namespace' => 'core',
'entity' => 'categories',
'validator' => 'Example\Validator\CategoriesValidator'
'entity' => 'categories'
)
)
)
Expand Down

0 comments on commit 2341679

Please sign in to comment.