Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base docs - prevent_controller_action is class method #49

Merged
merged 1 commit into from
Dec 11, 2022

Conversation

drnic
Copy link
Contributor

@drnic drnic commented Dec 10, 2022

Discovered I needed to invoke prevent_controller_action at the class level. Quick tweak to Base docs.

class DemoReflex < TurboReflex::Base
  prevent_controller_action

  def myreflex
    # BYO morphing
  end

@hopsoft hopsoft merged commit dccd916 into hopsoft:main Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants