index.html.twig 875 B

1234567891011121314151617181920
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Hello ApiController!{% endblock %}
  3. {% block body %}
  4. <style>
  5. .example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
  6. .example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
  7. </style>
  8. <div class="example-wrapper">
  9. <h1>Hello {{ controller_name }}! ✅</h1>
  10. This friendly message is coming from:
  11. <ul>
  12. <li>Your controller at <code><a href="{{ '/home/giaever.online/subdomain/magy.giaever.online/www/tff/symfony/src/Controller/ApiController.php'|file_link(0) }}">src/Controller/ApiController.php</a></code></li>
  13. <li>Your template at <code><a href="{{ '/home/giaever.online/subdomain/magy.giaever.online/www/tff/symfony/templates/api/index.html.twig'|file_link(0) }}">templates/api/index.html.twig</a></code></li>
  14. </ul>
  15. </div>
  16. {% endblock %}