ruby on rails - Including partial in every view -


i'd add olark every page on website, i've stuck code partial in shared folder.

how can add every page? i've noticed theres footer partial included on every page, tie in somehow?

you can include partial inside application.html.erb layout file <%= render 'partial_folder/partial_name' %>


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -