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

basic authentication with http post params android -

c++ - End of file on pipe magic during open -

vb.net - Virtual Keyboard commands -