Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.
This repository was archived by the owner on May 11, 2021. It is now read-only.

Support booking button doesn't work when sign_up_link is an empty string #253

@jdudley1123

Description

@jdudley1123

If the sign_up_link field is an empty string (rather than a null string) then the check fails and the view treats the empty string as a link.

<% link = @offer.sign_up_link || project_offer_book_path(@project, @offer) %>

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions