File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< div class ="center jumbotron ">
22 < h2 >
3- <% if params [ :search ] . nil? || params [ :search ] . empty? %>
3+ <% if params [ :search ] . blank? %>
44 All Orders (<%= @orders . count %> )
55 <% else %>
66 Found => [
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class="form-control" type="text"/> </div> <button type="submit" class="btn btn-p
77
88< div class ="center jumbotron ">
99 < h2 >
10- <% if params [ :search ] . nil? || params [ :search ] . empty ? %>
10+ <% if params [ :search ] . blank ? %>
1111 All Orders (<%= @products . count %> )
1212 <% else %>
1313 Found => [
Original file line number Diff line number Diff line change 11<% provide(:title, 'All users') %>
22 <div class ="center jumbotron ">
33 < h2 >
4- <% if params [ :search ] . nil? || params [ :search ] . empty ? %>
4+ <% if params [ :search ] . blank ? %>
55 All users (<%= @users . count %> )
66 <% else %>
77 Found => [
You can’t perform that action at this time.
0 commit comments