功能管理
<%= form_tag setting_handle_function_path(@function), method: :patch, class: "sidebar-search" do %>
<% end %>
ID | 方法 | 路由 | |
---|---|---|---|
<% if @funcRoutes.where(id: route.id).any? %> <%= check_box_tag 'routepath_id[]', route.id, :checked => "checked" %> <% else %> <%= check_box_tag 'routepath_id[]', route.id %> <% end %> | <%= route.id %> | <%= route.method %> | <%= "#{route.controller}/#{route.action}" %> |