Skip to content

Commit

Permalink
Use latest version of props_template
Browse files Browse the repository at this point in the history
  • Loading branch information
jho406 committed Nov 4, 2023
1 parent a40081f commit 4a370ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/page-response.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ you can customize this to fit your needs.

```ruby
# application.json.props
json.component_identifier local_assigns[:virtual_path_of_template]
json.component_identifier virtual_path_of_template
```

You can control which `componentIdentifier` will render which component in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ json.data(search: path) do
yield json
end

json.component_identifier local_assigns[:virtual_path_of_template]
json.component_identifier virtual_path_of_template
json.defers json.deferred!
json.fragments json.fragments!
json.assets [ asset_path('application.js') ]
Expand Down
2 changes: 1 addition & 1 deletion superglue_rails/superglue.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.files = Dir["MIT-LICENSE", "README.md", "lib/**/*", "app/**/*"]

s.add_dependency "actionpack", ">= 7.0.0"
s.add_dependency "props_template", ">= 0.23.0"
s.add_dependency "props_template", ">= 0.24.0"
s.add_dependency "form_props", ">= 0.0.3"

s.add_development_dependency "activerecord", ">= 7.0"
Expand Down

0 comments on commit 4a370ea

Please sign in to comment.