Sha256: c7dbbd503b0a5d97e9de1ea56a91b8f8cce6bc4df4a7292929fb06692dac360c
Contents?: true
Size: 479 Bytes
Versions: 8
Compression:
Stored size: 479 Bytes
Contents
class UnderConstructionController < ApplicationController layout false def index assign_config_options_to_view @email = UnderConstructionEmailStorage.new respond_to do |format| format.html { render template: "under_construction/#{@theme}/index" } end end private def assign_config_options_to_view configs = UnderConstruction.config_file configs.each_pair do |key, value| instance_variable_set '@'+key, value end end end
Version data entries
8 entries across 8 versions & 1 rubygems