Was looking for a way to add variables called $keywords_for_layout and $description_for_layout to provide meta data in my default layout page and I came across this from cakebaker. After I fought off the urge to set these fields in my controller all went well.
Define your own “for_layout” variables - cakebaker
Define your own “for_layout” variables - cakebaker
No comments:
Post a Comment