cdn/app/views/base.rb
2026-01-30 13:45:56 -05:00

12 lines
394 B
Ruby

# frozen_string_literal: true
class Views::Base < Components::Base
# The `Views::Base` is an abstract class for all your views.
# By default, it inherits from `Components::Base`, but you
# can change that to `Phlex::HTML` if you want to keep views and
# components independent.
# More caching options at https://www.phlex.fun/components/caching
def cache_store = Rails.cache
end