Sha256: d40844607c34cce727c3aaf629ee46377f78c1ad4f870a924093c5a7918fd979

Contents?: true

Size: 384 Bytes

Versions: 1

Compression:

Stored size: 384 Bytes

Contents

module NeopolyStyle
  class Hooks < Redmine::Hook::ViewListener
    def view_layouts_base_html_head(_context)
      javascript_tags + stylesheet_tags
    end

    private

    def javascript_tags
      javascript_include_tag "neopoly_style", plugin: "neopoly_style"
    end

    def stylesheet_tags
      stylesheet_link_tag "neopoly_style", plugin: "neopoly_style"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redmine-neopoly_style-0.0.1 lib/neopoly_style/hooks.rb