Commit 7e166780 authored by Rémy Coutable's avatar Rémy Coutable

Fix filename & Rails version in Geo framework doc

parent 5337ab57
...@@ -270,7 +270,7 @@ For example, to add support for files referenced by a `Widget` model with a ...@@ -270,7 +270,7 @@ For example, to add support for files referenced by a `Widget` model with a
```ruby ```ruby
# frozen_string_literal: true # frozen_string_literal: true
class CreateWidgetRegistry < ActiveRecord::Migration[5.2] class CreateWidgetRegistry < ActiveRecord::Migration[6.0]
DOWNTIME = false DOWNTIME = false
def change def change
...@@ -334,7 +334,7 @@ For example, to add support for files referenced by a `Widget` model with a ...@@ -334,7 +334,7 @@ For example, to add support for files referenced by a `Widget` model with a
end end
``` ```
1. Create `ee/spec/models/geo/widget_registry.rb`: 1. Create `ee/spec/models/geo/widget_registry_spec.rb`:
```ruby ```ruby
# frozen_string_literal: true # frozen_string_literal: true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment