These are chat archives for shirasagi/shirasagi

19th
Jun 2015
tany
@tany
Jun 19 2015 09:29
board memo
resource :topics [ /borad/:mode/topics ]
    resource comments [/board/:mode/topics/:tid/comments ]

/borad/thread/topics => topics_controller [ mode: thread ]
/borad/tree/topics   => topics_controller [ mode: tree   ]

  @mode = prams[:mode]
  location = topic_path(mode: @mode)

      _show.html トピック自身の情報
    _form.html トピック自身の情報
    index.html タイトル一覧
    show_thread.html スレッド型表示
    show_tree.html   ツリー型表示