envato-archive / guide

Document your application with a living component library and styleguide
https://rubygems.org/gems/guide
MIT License
8 stars 3 forks source link

Fix: scenario pages aren't rendering on Rails 6 #93

Closed orien closed 3 years ago

orien commented 3 years ago

Context

On Rails 6, scenario pages fail with:

ActionView::Template::Error:
  Invalid formats: "html"

It seems Rails 6 requires the format to be in the form of a symbol (:html).

Change

Convert the format to a symbol.