Advertisement
Guest User

Untitled

a guest
May 29th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <?php namespace BettaLivingAppService\Http\Controllers\Api;
  2.  
  3. use BettaLivingAppService\Appointment;
  4.  
  5. use BettaLivingAppService\Http\Requests;
  6. use BettaLivingAppService\Http\Controllers\Controller;
  7.  
  8. use Illuminate\Contracts\Routing\ResponseFactory;
  9.  
  10. class AppointmentsController extends Controller
  11. {
  12. public function index()
  13. {
  14. $appointments = Appointment::all();
  15. return view('appointments.index', compact('appointments'));
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement