Sha256: f397b0f5fa2cd472ad46fe4a9b34c2af9008fc7f693f9279fd0c78006cf1d415

Contents?: true

Size: 930 Bytes

Versions: 3

Compression:

Stored size: 930 Bytes

Contents

<tr class='route_row' data-helper='path'>
  <td class="helper" data-value='<%= route[:name] %>'>
    <% if route[:name].present? %>
      <button class="clip-button" data-clipboard-text='<%= "#{route[:name]}_path" %>'
              title='Click me to copy to clipboard.'>
        <img src="<%= clipboard_icon %>" alt="Copy"/>
      </button>
      <div class="helper-alias">
        <%= route[:name] %><span class='helper'>_path</span>
      </div>
    <% end %>
  </td>
  <td class="verb" data-value='<%= route[:verb].downcase %>'>
    <% if route[:verb] && route[:verb] != '' %>
      <span><%= route[:verb] %></span>
    <% end %>
  </td>
  <td class="path" data-value='<%= route[:path] %>'>
    <%= route[:path] %>
  </td>
  <td class="controller" data-value='<%= route[:reqs] %>'>
    <%= route[:reqs] %>
  </td>
  <td class="constraints" data-value='<%= route[:constraints] %>'>
    <%= route[:constraints] %>
  </td>
</tr>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pretty_routes-0.2.0 app/views/pretty_routes/routes/_route.html.erb
pretty_routes-0.1.1 app/views/pretty_routes/routes/_route.html.erb
pretty_routes-0.1.0 app/views/pretty_routes/routes/_route.html.erb