Sha256: ec78bd89ad75a3fee3a9b4fc29524ca2e0c8f8e8149b9b105781d3d6358e287b
Contents?: true
Size: 494 Bytes
Versions: 1
Compression:
Stored size: 494 Bytes
Contents
module NeopolyStyle module Patches # Patches to be applied to the global ApplicationHelper to support # out custom styling module ApplicationHelperPatch extend ActiveSupport::Concern included do alias_method_chain :favicon_path, :neopoly_style end # Returns the path to our own favicon def favicon_path_with_neopoly_style path = "/plugin_assets/neopoly_style/images/favicon.ico" image_path(path) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redmine-neopoly_style-0.1.0 | lib/neopoly_style/patches/application_helper_patch.rb |