Skip to content

Make it possible to pass Symbol for :only options of Callback #14

@nerbyk

Description

@nerbyk

Currently :only options only accepts Array[Symbol]. It makes sense to handle Symbols as well

class AppFunction < ActiveFunction::Base
   before_acrtion :set_app, only: :index
end 

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