<p><br>
08 Nis 2015 19:21 tarihinde "Andrew Beverley" <<a href="mailto:andy@andybev.com">andy@andybev.com</a>> yazdı:<br>
><br>
> On Wed, 2015-04-08 at 19:17 +0300, Kadir Beyazlı wrote:<br>
> > > > When I open web page I see error message, and at console there is<br>
> > > > following error message:<br>
> > > ><br>
> > > > /home/kadir/DancerExamples/willbe/public/views/<a href="http://mytemplate.tt">mytemplate.tt</a> is<br>
><br>
> ^^^^^<br>
><br>
> > not a<br>
> > > > regular file or reference<br>
> > ><br>
> > > It appears to be looking for the template in your public/views<br>
> > directory<br>
> > ><br>
> > > > content of <a href="http://mytemplate.tt">mytemplate.tt</a> is very simple again<br>
> > > ><br>
> > > > MyApp/views/<a href="http://mytemplate.tt">mytemplate.tt</a><br>
> > ><br>
> > > But your template is in MyApp/views. The latter is where I'd expect<br>
> > it<br>
> > > to be, so have you configured your templates to be in an alternative<br>
> > > location?<br>
> ><br>
> > No. MyApp name is "willbe".<br>
><br>
> But it's still looking in willbe/public/views - I'd expect it to be<br>
> looking in just willbe/views, especially as that's where you've said<br>
> you've put the template.<br>
i will check tomorrow from my pc. but it is sure that i did not configure location. i put my .tt file under folder where it was writing at manual. but you are right that it searches .tt file under public folder which was not realized by me when reading error message. i will analysis why it searhes .tt file under public folder because as remember it soul not be there. <br>
><br>
><br>
> _______________________________________________<br>
> dancer-users mailing list<br>
> <a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>
> <a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
</p>