app/controllers/schedules_controller.rb
# new is for schedule not article.
#  the controller should be different through the sequence of this action.
new is for schedule not article.
the controller should be different through the sequence of this action.
new is for schedule not article . the controller should be different through the sequence of this action .
def new
    catch :flash_now do prepare_for_new end
    render :update do |page|
      page.replace_html "working_div", :partial => "shared/committing_template", :locals => {:content_template => "article_threads/new"}
      page.insert_html :bottom, "working_div" , :partial => "back_to_calendar", :locals => {:text => "キャンセル"}
    end
  end
def new catch :flash_now do prepare_for_new end render :update do | page | page . replace_html "working_div" , :partial => "shared/committing_template" , :locals => { :content_template => "article_threads/new" } page . insert_html :bottom , "working_div" , :partial => "back_to_calendar" , :locals => { :text => "キャンセル"} end end
new is for schedule not article.
new is for schedule not article .