Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 528 Bytes

readme.md

File metadata and controls

27 lines (15 loc) · 528 Bytes

SVG Presenter Plugin

A plugin for COPRL that allows you to add inline SVG files

Installation

Add this line to your application's Gemfile:

gem 'svg_presenter_plugin', git: 'https://github.com/coprl/svg_presenter_plugin', require: false

And then execute:

$ bundle

Usage

Create the Rails initializer config/initializers/presenters_plugins.rb

Coprl::Presenters::Settings.configure do |config|
    config.presenters.plugins.push(:svg)
end

DSL