Sha256: 48bb25ec355fb61ce8ffda612b039fb4f95455108b8d1030eb719de27603999d

Contents?: true

Size: 543 Bytes

Versions: 4

Compression:

Stored size: 543 Bytes

Contents

require "font-awesome-rails"

module SocialColorsRails
  class Engine < ::Rails::Engine
    isolate_namespace SocialColorsRails

    initializer "SocialColorsRails.mount_engine", before: :load_config_initializers do |app|
      Rails.application.routes.append do
        mount SocialColorsRails::Engine, at: "/social_colors_rails"
      end
    end

    initializer 'SocialColorsRails.action_controller' do |app|
      ActiveSupport.on_load :action_controller do
        helper SocialColorsRails::ApplicationHelper
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
social_colors_rails-0.2.1 lib/social_colors_rails/engine.rb
social_colors_rails-0.2.0 lib/social_colors_rails/engine.rb
social_colors_rails-0.1.3 lib/social_colors_rails/engine.rb
social_colors_rails-0.1.2 lib/social_colors_rails/engine.rb