最終更新:2019-06-10 (月) 08:00:56 (179d)  

Rails/パス はてなブックマークを見る
Top / Rails / パス

rails routesコマンドのPrefix欄の表示に「_path」を付与したもの

  • Rails/パス
    GET/articlesRails/ActionController::Base::index?articles_path
    POST/articlesRails/ActionController::Base::create?
    GET/articles/newRails/ActionController::Base::new?new_article_path
    GET/articles/:id/editRails/ActionController::Base::edit?edit_article_path
    GET/articles/:id/Rails/ActionController::Base::show?article_path
    PATCH/articles/:id/Rails/ActionController::Base::update?
    PUT/articles/:id/Rails/ActionController::Base::update?
    DELETE/articles/:id/Rails/ActionController::Base::destroy?
    GET/root_path