Skip to content

Commit

Permalink
Merge branch 'release/4.0.3'
Browse files Browse the repository at this point in the history
* release/4.0.3:
  minor updates
  restrict view publishing
  api delimeters fix
  dependency updates
  • Loading branch information
austintoddj committed Feb 5, 2019
2 parents a594ff9 + 2516417 commit 651ccdf
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"/js/app.js": "/js/app.js?id=2847b697dbf8a72662ba",
"/js/app.js": "/js/app.js?id=5cfc7a4f0f793a07286c",
"/css/app.css": "/css/app.css?id=da72bd8307ebced7bed8",
"/js/app.js.map": "/js/app.js.map?id=e561de922c4a3d3b08da",
"/js/app.js.map": "/js/app.js.map?id=d31f3f9515a010708d4e",
"/favicon.png": "/favicon.png?id=39d853e8c2bdbc38fde3"
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ If you publish your own views, review the API specifications below to see availa

```php
"data": [
"topic": "Canvas/Tag",
"topic": "Canvas\Tag",
"posts": "Illuminate\Pagination\Paginator"
]
```
Expand Down
2 changes: 1 addition & 1 deletion src/CanvasServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private function registerPublishing()
__DIR__.'/../config/canvas.php' => config_path('canvas.php'),
], 'canvas-config');
$this->publishes([
__DIR__.'/../resources/views' => resource_path('views/vendor/canvas'),
__DIR__.'/../resources/views/blog' => resource_path('views/vendor/canvas/blog'),
], 'canvas-views');
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/BlogController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class BlogController extends Controller
{
/**
* Show the public-facing blog homepage.
* Show the blog homepage with a paginated list of posts.
*
* @return View
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Controllers/PostController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class PostController extends Controller
{
/**
* Display a listing of posts.
* Show a paginated list of posts.
*
* @return View
*/
Expand All @@ -29,7 +29,7 @@ public function index(): View
}

/**
* Display a single post.
* Show a single post.
*
* @param string $slug
* @return View
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Controllers/StatsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class StatsController extends Controller
{
/**
* Show the overall stats dashboard.
* Show the statistics dashboard.
*
* @return View
*/
Expand All @@ -34,7 +34,7 @@ public function index(): View
}

/**
* Display stats for a single post.
* Show analytics for a single post.
*
* @param string $id
* @return View
Expand Down
8 changes: 4 additions & 4 deletions src/Http/Controllers/TagController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class TagController extends Controller
{
/**
* Display a listing of the resource.
* Show a paginated list of tags.
*
* @return View
*/
Expand All @@ -27,7 +27,7 @@ public function index(): View
}

/**
* Display a single tag.
* Show all posts related to a given tag.
*
* @param string $slug
* @return View
Expand All @@ -51,7 +51,7 @@ public function show(string $slug): View
}

/**
* Show the form for creating a tag.
* Show the form for creating a new tag.
*
* @return View
*/
Expand Down Expand Up @@ -80,7 +80,7 @@ public function edit(string $id): View
}

/**
* Store a newly created post in storage.
* Store a newly created tag in storage.
*
* @return RedirectResponse
*/
Expand Down

0 comments on commit 651ccdf

Please sign in to comment.