davidyell / CakePHP-NiceAdminBakeScripts

Nice Admin bake theme for CakePHPs Bake plugin.
Other
14 stars 6 forks source link

Templae bake #14

Closed ribafs closed 5 years ago

ribafs commented 5 years ago

In src/Template/Bake/Element/Controller/index.ctp

Correct is: $this->set('<%= $pluralName %>', $this->paginate($query, [ 'order' => [$this-><%= $currentModelName %>->aliasField('modified') => 'desc'] ])); Your code are withiut ]. Thank you.

davidyell commented 5 years ago

Sorry, I don't see this error. https://github.com/davidyell/CakePHP-NiceAdminBakeScripts/blob/master/src/Template/Bake/Element/Controller/index.ctp#L14-L16

Can you show the generated markup?

ribafs commented 5 years ago

Ok then. Sorry.

Em qua, 29 de mai de 2019 às 06:16, David Yell notifications@github.com escreveu:

Sorry, I don't see this error.

https://github.com/davidyell/CakePHP-NiceAdminBakeScripts/blob/master/src/Template/Bake/Element/Controller/index.ctp#L14-L16

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davidyell/CakePHP-NiceAdminBakeScripts/issues/14?email_source=notifications&email_token=AAGQZIBVZPRG73MOFWZVHGLPXZCWLA5CNFSM4HPQFQ52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWOWSRA#issuecomment-496855364, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGQZIAUQ3UTCYHTYQWBASDPXZCWLANCNFSM4HPQFQ5Q .

-- Colaborar é ser humano

             Ribamar FS - http://ribafs.org
davidyell commented 5 years ago

Okay, thanks