DEV Community

Discussion on: Reusable Turbo-iOS Project Configured Entirely From Your Rails App

Collapse
 
dalezak profile image
Dale Zak • Edited

If you want no tabs when user is logged out, but tabs when user is logged in:

"tabs": [
  {
    "title": "Home",
    "visit": "/",
    "icon_ios": "house",
    "protected": true
  },
 {
    "title": "Profile",
    "visit": "/profile",
    "icon_ios": "person",
    "protected": true
  }
],
Enter fullscreen mode Exit fullscreen mode

In this case the tabbar will be hidden unless the user has logged in.