Skip to content

NoMethodError: undefined method `helper' for class ActionController::API #15

@mhenrixon

Description

@mhenrixon

I'm having some trouble trying the gem, so I figured I'd let you know about it.

I am not using ActionController::API so I'm pretty confident it isn't something on my side.

➜  rails richer_text:install
bin/rails aborted!
NoMethodError: undefined method `helper' for class ActionController::API (NoMethodError)

        helper RicherText::TagHelper
        
/Users/mhenrixon/Code/mhenrixon/cosmos/app/controllers/application_controller.rb:4:in `<main>'
/Users/mhenrixon/Code/mhenrixon/cosmos/config/initializers/application_controller_renderer.rb:21:in `block in <main>'
/Users/mhenrixon/Code/mhenrixon/cosmos/config/environment.rb:7:in `<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions