Sha256: e0f6bffc2a9974a40adaef30f2b5587fa91297e206ec9d6b7b36635c05e3c069

Contents?: true

Size: 311 Bytes

Versions: 8

Compression:

Stored size: 311 Bytes

Contents

# frozen_string_literal: true

require "rails/application_controller"
load "config/application.rb" unless Rails.root

class Rails::ComponentExamplesController < ActionController::Base # :nodoc:
  prepend_view_path File.expand_path("templates/rails", __dir__)
  append_view_path Rails.root.join("app/views")
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
actionview-component-1.7.0 lib/railties/lib/rails/component_examples_controller.rb
actionview-component-1.6.2 lib/railties/lib/rails/component_examples_controller.rb
actionview-component-1.6.1 lib/railties/lib/rails/component_examples_controller.rb
actionview-component-1.6.0 lib/railties/lib/rails/component_examples_controller.rb
actionview-component-1.5.3 lib/railties/lib/rails/component_examples_controller.rb
actionview-component-1.5.2 lib/railties/lib/rails/component_examples_controller.rb
actionview-component-1.5.1 lib/railties/lib/rails/component_examples_controller.rb
actionview-component-1.5.0 lib/railties/lib/rails/component_examples_controller.rb