Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

fix README #193

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ Hypernova.configure do |config|
end
```

In your controller, you’ll need an `:around_filter` so you can opt into Hypernova rendering of view partials.
In your controller, you’ll need an `:around_action` so you can opt into Hypernova rendering of view partials.

```ruby
class SampleController < ApplicationController
around_filter :hypernova_render_support
around_action :hypernova_render_support
end
```

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@
},
"homepage": "https://github.com/airbnb/hypernova",
"devDependencies": {
"@babel/plugin-transform-destructuring": "^7.17.7",
"aud": "^2.0.0",
"babel-cli": "^6.26.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-replace-object-assign": "^1.0.0",
"babel-preset-airbnb": "^2.5.3",
"babel-preset-airbnb": "^5.0.0",
"chai": "^4.3.6",
"cheerio": "=1.0.0-rc.3",
"eslint": "^8.14.0",
Expand Down