From 97e58b41f666b3f353c9ffcbdb88754bb0750c91 Mon Sep 17 00:00:00 2001 From: KuanYu Chu Date: Thu, 24 Oct 2019 19:02:36 +0800 Subject: [PATCH] Fix docs use around_action instead of around_filter see: https://guides.rubyonrails.org/action_controller_overview.html#after-filters-and-around-filters --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ```