OSDN Git Service

fix: server
[pettanr/pettanr.git] / app / controllers / licenses_controller.rb
index 66b0423..cd697dd 100644 (file)
@@ -69,7 +69,7 @@ class LicensesController < ApplicationController
   def destroy
     set_model
     @item = @my_model_class.edit(params[:id], @operators)
-    render_destroy @my_model_class.path_name
+    render_destroy '/' + @my_model_class.path_name
   end
   
 end