[dancer-users] Disabling main layout
Kadir Beyazlı
kadirbeyazli at gmail.com
Sat Sep 12 19:15:19 BST 2015
Hi All,
I tried following but it did not work, I need something similar to it.
get '/login' => sub {
config->{layout} = undef;
template 'login', { path => param('requested_path') };
};
On Sat, Sep 12, 2015 at 9:01 PM, Kadir Beyazlı <kadirbeyazli at gmail.com> wrote:
> Hi All,
>
> I think I saw solution at mails but could not find at my search so I have to
> ask here.
>
> I set main layout.
> But I don't want main layout to be loaded at route /login.
> Is it possible disabling main layout at route /login although I am using
> template in it?
>
> get '/login' => sub {
> template 'login', { path => param('requested_path') };
> };
>
> --
> Kadir Beyazlı
> GSM : +90 535 821 50 00
--
Kadir Beyazlı
Computer Engineer
GSM : +90 535 821 50 00
More information about the dancer-users
mailing list