Resourcify admin cp controllers, routes, and views

This commit is contained in:
Jonny Barnes 2017-03-03 13:22:21 +00:00
parent 03e52915bd
commit 17804eed27
40 changed files with 208 additions and 431 deletions

View file

@ -0,0 +1,15 @@
@extends('master')
@section('title')
List Places « Admin CP
@stop
@section('content')
<h1>Places</h1>
<ul>
@foreach($places as $place)
<li>{{ $place['name'] }} <a href="/admin/places/{{ $place['id'] }}/edit">edit?</a></li>
@endforeach
</ul>
<p>Create a <a href="/admin/places/create">new entry</a>?</p>
@stop