Commit e019b632 by vulehuan

insert page title

parent 56c684b6
<% provide(:title, @title) %>
<!-- Recommended Items --> <!-- Recommended Items -->
<div class="body-box grid-view"> <div class="body-box grid-view">
<h2 class="sprite-2"> <h2 class="sprite-2">
......
<% provide(:title, "Products") %>
<h1>Products#index</h1> <h1>Products#index</h1>
<p>Find me in app/views/products/index.html.erb</p> <p>Find me in app/views/products/index.html.erb</p>
<% provide(:title, @product.name) %>
<div class="body-box"> <div class="body-box">
<h2 class="sprite-2"><%= @product.name %><span class="sprite-2"></span></h2> <h2 class="sprite-2"><%= @product.name %><span class="sprite-2"></span></h2>
<div class="text-justify product-detail"> <div class="text-justify product-detail">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment