Skip to content

Commit

Permalink
fix: explicitly require open struct before using JsFromRoutes
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMassimo committed Aug 23, 2024
1 parent d1e6fc0 commit 7a926e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playground/vanilla/config/initializers/js_from_routes.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "ostruct"

if Rails.env.development?
JsFromRoutes.config do |config|
config.file_suffix = "Api.ts"
Expand Down

0 comments on commit 7a926e7

Please sign in to comment.