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-1.6.22 lib/promethee/core_ext/mapper.rb
promethee-1.6.21 lib/promethee/core_ext/mapper.rb
promethee-1.6.20 lib/promethee/core_ext/mapper.rb
promethee-1.6.19 lib/promethee/core_ext/mapper.rb
promethee-1.6.18 lib/promethee/core_ext/mapper.rb
promethee-1.6.16 lib/promethee/core_ext/mapper.rb
promethee-1.6.14 lib/promethee/core_ext/mapper.rb
promethee-1.6.13 lib/promethee/core_ext/mapper.rb
promethee-1.6.12 lib/promethee/core_ext/mapper.rb
promethee-1.6.11 lib/promethee/core_ext/mapper.rb
promethee-1.6.10 lib/promethee/core_ext/mapper.rb
promethee-1.6.8 lib/promethee/core_ext/mapper.rb
promethee-1.6.7 lib/promethee/core_ext/mapper.rb
promethee-1.6.6 lib/promethee/core_ext/mapper.rb
promethee-1.6.5 lib/promethee/core_ext/mapper.rb
promethee-1.6.4 lib/promethee/core_ext/mapper.rb
promethee-1.6.3 lib/promethee/core_ext/mapper.rb
promethee-1.6.2 lib/promethee/core_ext/mapper.rb
promethee-1.6.1 lib/promethee/core_ext/mapper.rb