Skip to content

Frontend Routes & Components

James Hawkins edited this page Feb 25, 2019 · 4 revisions

Frontend Routes and Components

  • Root
    • App
      • NavBar
      • < Main component rendered here (see below) >

The following routes will render their respective components below the NavBar:

/

  • LandingPage
  • Footer

/login

  • LoginForm

/signup

  • SignupForm

/chatrooms/:chatroomId

  • ChatroomIndex
    • ChatroomItem
  • ChatroomShow
    • MessageItem

/chatrooms/:chatroom_id/users

  • ChatroomIndex
    • ChatroomIndexItem
  • ChatroomShow
    • MessageItem
  • UsersIndex
    • UsersIndexItem

/chatrooms/:chatroom_id/user/:userId

  • ChatroomIndex
    • ChatroomItem
  • ChatroomShow
    • MessageItem
  • UserShow

/chatrooms/:chatroom_id/user/:userId/edit

  • EditUserForm

Clone this wiki locally