OSDN Git Service

change editor
[pettanr/pettanr.git] / app / controllers / story_sheets_controller.rb
index 748f195..ac40f9b 100644 (file)
@@ -51,7 +51,7 @@ class StorySheetsController < ApplicationController
     @binder = @my_model_class.binder_model.edit(@item.binder_id, @operators) if @item.binder_id
     @panel = @my_model_class.destination_model.show(@item.destination_id, @operators) if @item.destination_id
     
-    leaf_render_create play_scroll_path(@binder)
+    leaf_render_create play_story_path(@binder)
   end
   
   def update
@@ -65,7 +65,7 @@ class StorySheetsController < ApplicationController
     # swapable hidden panel
     #@panel = @my_model_class.destination_model.show(@item.destination_id, @operators) if @item.destination_id
     
-    leaf_render_update ot, play_scroll_path(@binder)
+    leaf_render_update ot, play_story_path(@binder)
   end
   
   def destroy