// // DO NOT MODIFY: This file was automatically generated by JsFromRoutes. <% if routes.any?(&:path_only?) %>import { formatUrl } from '~/helpers/UrlHelper'<% end %><% if routes.any?(&:path_only?) && routes.any?(&:request_method?) %><%= "\n" %><% end %><% if routes.any?(&:request_method?) %>import { request } from '~/services/ApiService'<% end %> export default { <% routes.each_with_index do |route, index| %> <% if index > 0 %><%= "\n" %><% end %> <%= route.helper %>: options => <% if route.path_only? %>formatUrl(<% else %>request('<%= route.verb %>', <% end %>'<%= route.path %>', options), <% end %> }