Sha256: 406b03be3aed55028aa76fbb65855903db3008715f79c5553741a596f4fd6775

Contents?: true

Size: 1.07 KB

Versions: 17

Compression:

Stored size: 1.07 KB

Contents

<% page_title "Rails Routes" %>
<%= content_for :functions do %>
  <h1><%=h page_title %></h1>
<% end %>

<div style="margin: 10px 0">
  <%= form_tag routes_path, :method => :get do %>
    <label>
      Path to Test: <%= text_field_tag :path, @path, :size => 50 %>
    </label>
    <% unless @route.blank? %>
      <div style="margin: 10px 0">
        <%=h @route.inspect %>
      </div>
    <% end %>
  <% end %>
</div>
<div class="roundedcorners">
<table class="data">
  <tr>
    <th class="first" colspan="2"><div class="dividers">Name</div></th>
    <th><div class="dividers" style="width: 50px;">Verb</div></th>
    <th><div class="dividers">Pattern</div></th>
    <th class="last" colspan="2"><div class="dividers">Result</div></th>

  </tr>
  <% for route in @routes %><tr>
    <td class="first"></td>
    <td><%=h route[:name] %></td>
    <td><%=h route[:verb] %></td>
    <td><%=h route[:segs] %></td>
    <td><%=h route[:reqs] %></td>
    <td class="last"></td>
  </tr><% end %>
</table>
<div class="tl"></div>
<div class="tr"></div>
<div class="bl"></div>
<div class="br"></div>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
browsercms-3.5.7 app/views/cms/routes/index.html.erb
browsercms-3.5.6 app/views/cms/routes/index.html.erb
browsercms-3.5.5 app/views/cms/routes/index.html.erb
browsercms-3.5.4 app/views/cms/routes/index.html.erb
browsercms-3.5.3 app/views/cms/routes/index.html.erb
browsercms-3.5.2 app/views/cms/routes/index.html.erb
browsercms-3.5.1 app/views/cms/routes/index.html.erb
browsercms-3.5.0 app/views/cms/routes/index.html.erb
browsercms-3.5.0.rc3 app/views/cms/routes/index.html.erb
browsercms-3.5.0.rc2 app/views/cms/routes/index.html.erb
browsercms-3.5.0.rc1 app/views/cms/routes/index.html.erb
browsercms-3.4.2 app/views/cms/routes/index.html.erb
browsercms-3.4.2.rc1 app/views/cms/routes/index.html.erb
browsercms-3.4.1 app/views/cms/routes/index.html.erb
browsercms-3.4.0 app/views/cms/routes/index.html.erb
browsercms-3.4.0.rc2 app/views/cms/routes/index.html.erb
browsercms-3.4.0.rc1 app/views/cms/routes/index.html.erb