Sha256: 2f822d76e040c794a7bdb4a534c40afe9e91430fc4a75bc8373964eece71db7d

Contents?: true

Size: 195 Bytes

Versions: 16

Compression:

Stored size: 195 Bytes

Contents

<pre class="prettyprint lang-rb">ApiTaster.routes do

    <% routes.each do |route| %>
  <%= route[:verb].downcase %> '<%= route[:path] %>', <%= route[:params] || '{}' %>

    <% end %>
end</pre>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
api_taster-0.8.4 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.8.3 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.8.2 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.8.1 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.7.0 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.6.0 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.5.1 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.5.0 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.4.8 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.4.7 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.4.6 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.4.5 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.4.4 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.4.3 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.4.2 app/views/api_taster/routes/_route_definitions.html.erb
api_taster-0.4.1 app/views/api_taster/routes/_route_definitions.html.erb