Sha256: 1e7bf16a86183e19f34b8eab9438928180d2afb5c8e747ff4f879a368d5a0309

Contents?: true

Size: 228 Bytes

Versions: 13

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

class ApplicationComponent < Phlex::HTML
	include Phlex::Rails::Helpers::Routes

	if Rails.env.development?
		def before_template
			comment { "Before #{self.class.name}" }
			super
		end
	end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
phlex-rails-1.2.2 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-1.2.1 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-1.2.0 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-1.1.2 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-1.1.1 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-1.1.0 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-1.0.0 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-0.10.0 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-0.8.1 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-0.9.0 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-0.8.0 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-0.7.1 lib/generators/phlex/install/templates/application_component.rb
phlex-rails-0.7.0 lib/generators/phlex/install/templates/application_component.rb