Sha256: 989b76883d0754e48917c06632d915119c52bf9a9bf148f655d4c8641328e167
Contents?: true
Size: 314 Bytes
Versions: 43
Compression:
Stored size: 314 Bytes
Contents
import { Controller } from "@hotwired/stimulus" import { Turbo } from "@hotwired/turbo-rails" export default class extends Controller { back() { history.back() } forward() { history.forward() } reload() { Turbo.visit(location.href, { action: "replace", shouldCacheSnapshot: false }) } }
Version data entries
43 entries across 43 versions & 1 rubygems