Sha256: bdd436f5bc0872ec34045a93fcea7c45d6a4a46cdf064e52b3c365e241e4ffd8

Contents?: true

Size: 323 Bytes

Versions: 74

Compression:

Stored size: 323 Bytes

Contents

class ApplicationController < ActionController::Base
  def css_framework
    @css_framework ||= 'bootstrap'
    "application_#{@css_framework}"
  end
  helper_method :css_framework

  def css_framework_bootstrap
    @css_framework = 'bootstrap'
  end

  def css_framework_tailwind
    @css_framework = 'tailwind'
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.3.5 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.3.4 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.3.3 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.3.2 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.3.1 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.3.0 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.43 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.42 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.41 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.40 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.39 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.38 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.37 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.36 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.35 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.34 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.33 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.32 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb
rails_app_generator-0.2.31 after_templates/rag/tailwind_emulating_bootstrap/application_controller.rb