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
Post a Comment