Skip to content
代码片段 群组 项目
  • Stanislav Lashmanov's avatar
    c822df4a
    Handle controller paths with non-existant entry points · c822df4a
    Stanislav Lashmanov 创作于
    We have the controller `profiles/keys` with the action `show`, so it
    tries to load: `pages.profiles.keys.show.js` which doesn't exist. The
    following entry points do exist:
    
       pages/profiles/keys/show/index.js <== does not exist
       pages/profiles/keys/index.js <== does exist
       pages/profiles/index.js <== does exist
    
    So, it should have tried loading the other two, but didn't. By moving
    the "backtracking" logic to the backend, we can try loading all of those
    virtual entry points.
    未验证
    c822df4a
    历史
    Handle controller paths with non-existant entry points
    Stanislav Lashmanov 创作于
    We have the controller `profiles/keys` with the action `show`, so it
    tries to load: `pages.profiles.keys.show.js` which doesn't exist. The
    following entry points do exist:
    
       pages/profiles/keys/show/index.js <== does not exist
       pages/profiles/keys/index.js <== does exist
       pages/profiles/index.js <== does exist
    
    So, it should have tried loading the other two, but didn't. By moving
    the "backtracking" logic to the backend, we can try loading all of those
    virtual entry points.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。