Rendering two view path - frontend and backend

37 views
Skip to first unread message

vladu sorin

unread,
Jun 20, 2011, 6:48:28 AM6/20/11
to Limonade
Hi.

I building a web site that have a backend and a frontend. How can I
render /template/backend/* if the callback function of dispatcher
match this pattern: admin_*?

Fabrice Luraine

unread,
Jul 14, 2011, 11:09:49 AM7/14/11
to Limonade
Hello,

you can set the view dir option in the before function like this:
https://gist.github.com/1082633

I hope it will help you.

++ Fabrice

On Jun 20, 12:48 pm, vladu sorin <vladuemil...@gmail.com> wrote:
> Hi.
>
> I building a web site that have abackendand a frontend. How can I
Reply all
Reply to author
Forward
0 new messages