Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Navbar breaks pre-app setup layout #1144

Closed
@orenyk

Description

@orenyk

Since the navbar calls can? :manage, Reservation and CanCanCan checks for AppConfig.first.enable_guests in ability.rb, we get a NoMethodError when rendering the "your app is not set up yet" page. We should either return false unless AppConfig.nil? at the start or check for if AppConfig.first && AppConfig.first.enable_guests to prevent this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions