Sha256: 19af354546811434ac0578dff8ac352917818bc4ee8433e24c76dac75f76ba90
Contents?: true
Size: 645 Bytes
Versions: 8
Compression:
Stored size: 645 Bytes
Contents
# frozen_string_literal: true module Archangel ## # Controller theme concern # module ThemableConcern extend ActiveSupport::Concern ## # ThemableConcern class methods # module ClassMethods # Converts the object into textual markup given a specific format. # # @param theme [String,Symbol,Proc] the theme # @param options [Hash] the theme options # @return [Object] the theme object def theme(theme, options = {}) @_theme = theme @_theme_options = options Archangel::Theme::ThemableController.apply_theme(self, theme, options) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems