Closed aaronrussell closed 7 years ago
Unexposed nodes don't have a corresponding page on the front end, so the preview button is redundant and may even error if a user is curious and clicks it. Should simply be removed when editing unexposed nodes.
- unless @node.unexposed? = button
Unexposed nodes don't have a corresponding page on the front end, so the preview button is redundant and may even error if a user is curious and clicks it. Should simply be removed when editing unexposed nodes.