Sha256: 6c96a81e980e61e505f88fcae1229007c1ae1f09d2c116ab77819e110761a4cd

Contents?: true

Size: 333 Bytes

Versions: 179

Compression:

Stored size: 333 Bytes

Contents

ActionDispatch::Routing::Mapper.class_eval do
  def promethee path: :promethee
    namespace :promethee, path: path.to_s, module: nil  do
      post 'preview' => 'promethee#preview', as: :preview
      post 'blob' => 'promethee#blob_create', as: :active_storage_create
      get 'blob/:id' => 'promethee#blob_show'
    end
  end
end

Version data entries

179 entries across 179 versions & 1 rubygems

Version Path
promethee-4.1.13 lib/promethee/core_ext/mapper.rb
promethee-4.1.12 lib/promethee/core_ext/mapper.rb
promethee-4.1.11 lib/promethee/core_ext/mapper.rb
promethee-4.1.10 lib/promethee/core_ext/mapper.rb
promethee-4.1.9 lib/promethee/core_ext/mapper.rb
promethee-4.1.8 lib/promethee/core_ext/mapper.rb
promethee-4.1.7 lib/promethee/core_ext/mapper.rb
promethee-4.1.6 lib/promethee/core_ext/mapper.rb
promethee-4.1.5 lib/promethee/core_ext/mapper.rb
promethee-4.1.4 lib/promethee/core_ext/mapper.rb
promethee-4.1.3 lib/promethee/core_ext/mapper.rb
promethee-4.1.2 lib/promethee/core_ext/mapper.rb
promethee-4.1.1 lib/promethee/core_ext/mapper.rb
promethee-4.1.0 lib/promethee/core_ext/mapper.rb
promethee-4.0.8 lib/promethee/core_ext/mapper.rb
promethee-4.0.7 lib/promethee/core_ext/mapper.rb
promethee-4.0.6 lib/promethee/core_ext/mapper.rb
promethee-4.0.5 lib/promethee/core_ext/mapper.rb
promethee-4.0.4 lib/promethee/core_ext/mapper.rb
promethee-4.0.3 lib/promethee/core_ext/mapper.rb