Sha256: dff0f0902cb598823847c095eafca5b28cbb74a8b100e292f94fbe7e33a80236

Contents?: true

Size: 374 Bytes

Versions: 9

Compression:

Stored size: 374 Bytes

Contents

require "neopoly_style/patches/application_helper_patch"

module NeopolyStyle
  # This module holds all patches of a default Redmine application
  module Patches
    # Apply all patches
    def self.apply!
      apply_to(::ApplicationHelper, ApplicationHelperPatch)
    end

    private

    def self.apply_to(target, mod)
      target.send(:include, mod)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
redmine-neopoly_style-0.3.6 lib/neopoly_style/patches.rb
redmine-neopoly_style-0.3.5 lib/neopoly_style/patches.rb
redmine-neopoly_style-0.3.4 lib/neopoly_style/patches.rb
redmine-neopoly_style-0.3.3 lib/neopoly_style/patches.rb
redmine-neopoly_style-0.3.2 lib/neopoly_style/patches.rb
redmine-neopoly_style-0.3.1 lib/neopoly_style/patches.rb
redmine-neopoly_style-0.3.0 lib/neopoly_style/patches.rb
redmine-neopoly_style-0.1.0 lib/neopoly_style/patches.rb
redmine-neopoly_style-0.0.1 lib/neopoly_style/patches.rb