Repo for the search and displace core module including the interface to select files and search and displace operations to run on them. https://searchanddisplace.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
502 B

  1. <?php
  2. namespace App\Http\Controllers;
  3. use Illuminate\View\View;
  4. use Illuminate\Contracts\View\Factory;
  5. use Illuminate\Contracts\Container\BindingResolutionException;
  6. class PagesController extends Controller
  7. {
  8. /**
  9. * Return the home page view
  10. *
  11. * @return View|Factory
  12. *
  13. * @throws BindingResolutionException
  14. */
  15. public function home(): View
  16. {
  17. $filters = FilterController::$filters;
  18. return view('pages.home')->with('filters', $filters);
  19. }
  20. }