forked from fixin.me/fixin.me
10 lines
179 B
Ruby
10 lines
179 B
Ruby
ActiveSupport.on_load :turbo_streams_tag_builder do
|
|
def disable(target)
|
|
action :disable, target
|
|
end
|
|
|
|
def disable_all(targets)
|
|
action_all :disable, targets
|
|
end
|
|
end
|