Skip to content

Commit

Permalink
Tidy the README a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor S. Parks authored and Connor S. Parks committed Mar 17, 2017
1 parent 541e3ac commit aff0faa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ class TranslationController extends Controller
/**
* Get the available translations.
*
* @param \CasaParks\ExtractTranslations\Builder $builder
*
* @return \Illuminate\Http\JsonResponse
*/
public function list(Builder $builder)
Expand Down Expand Up @@ -203,6 +205,9 @@ class TranslationController extends Controller
/**
* Get the available translations.
*
* @param string $translation
* @param \CasaParks\ExtractTranslations\Builder $builder
*
* @return \Illuminate\Http\JsonResponse
*/
public function get($translation, Builder $builder)
Expand All @@ -217,7 +222,7 @@ class TranslationController extends Controller
}
```

```
```php
$router->get('/api/translations/{translation}', [
'as' => 'get::api.translation',
'uses' => 'Api\TranslationController@get',
Expand Down

0 comments on commit aff0faa

Please sign in to comment.