bolt not navigating to testimonial record page
Posted: Mon Jan 04, 2016 3:34 am
In my contenttypes.yml file i have the following definition:
using the admin panel i have populated the testimonials database with 2-3 records , now i believe , when i navigate to http://localhost:8080/boltCMS/Testimonial/1
i should see the testimonial.twig in action ? I.E. the below file:
But instead i get an error thrown, That says the following:
No route found for "GET /Testimonial/1"
Code: Select all
#Testimonials
testimonials:
name: Testimonials
singular_name: Testimonial
fields:
name:
type: text
class: large
position:
type: text
body:
type: textarea
height: 150px
listing_template: testimonials.twig
record_template: testimonial.twig
i should see the testimonial.twig in action ? I.E. the below file:
Code: Select all
{% include '_header.twig' %}
<main>
<div class="container">
<div class="page-header">
<h1>Testimonial!</h1>
<p>This is a testimonial.</p>
</div>
<div class="page-content">
<p>Testimonial content...</p>
</div>
</div>
</main>
{% include '_footer.twig' %}No route found for "GET /Testimonial/1"