Exercices Cap 5 - nortonbino/sample_app GitHub Wiki

CAP 5

5.1.1

Ex 1)

curl -OL cdn.learnenough.com/kitten.jpg

Ex 2)

mv kitten.jpg app/assets/images/

Ex 3)

5.1.2

Ex 1)

curl -OL cdn.learnenough.com/kitten.jpg

Ex 2)

   Still there.

5.1.3

Ex 1)

<%= render 'head' %>

_head.html.erb

<head>
   <title><%= full_title(yield(:title)) %></title>
   <%= render 'layouts/rails_default' %>
   <%= render 'layouts/shim' %>
 </head>

5.3.3

Ex 1)

<li><%= link_to "Help", helf_path %></li>

5.4.1

Ex 1)





require 'test_helper'

class UsersControllerTest < ActionDispatch::IntegrationTest

 test "should get new" do
   get signup_path
   assert_response :success
 end
end
⚠️ **GitHub.com Fallback** ⚠️