diff --git a/README.md b/README.md index dbb2c67..467c85a 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/package.json b/package.json index c9a2a60..85fba46 100644 --- a/package.json +++ b/package.json @@ -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",