Sha256: 2689b9650149649f5f6ce082189164923b8514c37c891666c214cb3810deece2

Contents?: true

Size: 306 Bytes

Versions: 3

Compression:

Stored size: 306 Bytes

Contents

Rails.application.routes.draw do
  mount ActsAsContentHighlightable::Engine => "/" if ActsAsContentHighlightable.mount
end

ActsAsContentHighlightable::Engine.routes.draw do
  scope module: "acts_as_content_highlightable" do
    post 'content_highlights/add'
    post 'content_highlights/remove'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
acts_as_content_highlightable-0.2.1 config/routes.rb
acts_as_content_highlightable-0.2.0 config/routes.rb
acts_as_content_highlightable-0.1.0 config/routes.rb