Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 19, 2019
1 parent cc68798 commit 459a11a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions resources/js/components/RelatedEntries.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
return _.filter([
{title: "Exceptions", type: "exceptions", count: this.exceptions.length},
{title: "Logs", type: "logs", count: this.logs.length},
{title: "Views", type: "views", count: this.views.length},
{title: "Queries", type: "queries", count: this.queries.length},
{title: "Models", type: "models", count: this.models.length},
{title: "Gates", type: "gates", count: this.gates.length},
Expand All @@ -139,7 +140,6 @@
{title: "Events", type: "events", count: this.events.length},
{title: "Cache", type: "cache", count: this.cache.length},
{title: "Redis", type: "redis", count: this.redis.length},
{title: "Views", type: "views", count: this.views.length},
], tab => tab.count > 0);
},
Expand Down Expand Up @@ -569,4 +569,4 @@
td {
vertical-align: middle !important;
}
</style>
</style>
16 changes: 8 additions & 8 deletions resources/views/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@
<span>Dumps</span>
</router-link>
</li>
<li class="nav-item">
<router-link active-class="active" to="/views" class="nav-link d-flex align-items-center">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
<path d="M7 3H2v14h5V3zm2 0v14h9V3H9zM0 3c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3zm3 1h3v2H3V4zm0 3h3v2H3V7zm0 3h3v2H3v-2z"/>
</svg>
<span>Views</span>
</router-link>
</li>
<li class="nav-item">
<router-link active-class="active" to="/queries" class="nav-link d-flex align-items-center">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
Expand Down Expand Up @@ -178,14 +186,6 @@
<span>Redis</span>
</router-link>
</li>
<li class="nav-item">
<router-link active-class="active" to="/views" class="nav-link d-flex align-items-center">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
<path d="M7 3H2v14h5V3zm2 0v14h9V3H9zM0 3c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3zm3 1h3v2H3V4zm0 3h3v2H3V7zm0 3h3v2H3v-2z"/>
</svg>
<span>Views</span>
</router-link>
</li>
</ul>
</div>

Expand Down
8 changes: 4 additions & 4 deletions src/Http/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
Route::post('/telescope-api/requests', 'RequestsController@index');
Route::get('/telescope-api/requests/{telescopeEntryId}', 'RequestsController@show');

// View entries...
Route::post('/telescope-api/views', 'ViewsController@index');
Route::get('/telescope-api/views/{telescopeEntryId}', 'ViewsController@show');

// Artisan Commands entries...
Route::post('/telescope-api/commands', 'CommandsController@index');
Route::get('/telescope-api/commands/{telescopeEntryId}', 'CommandsController@show');
Expand All @@ -63,10 +67,6 @@
Route::post('/telescope-api/redis', 'RedisController@index');
Route::get('/telescope-api/redis/{telescopeEntryId}', 'RedisController@show');

// View entries...
Route::post('/telescope-api/views', 'ViewsController@index');
Route::get('/telescope-api/views/{telescopeEntryId}', 'ViewsController@show');

// Monitored Tags...
Route::get('/telescope-api/monitored-tags', 'MonitoredTagController@index');
Route::post('/telescope-api/monitored-tags/', 'MonitoredTagController@store');
Expand Down

0 comments on commit 459a11a

Please sign in to comment.