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-5.1.1 lib/promethee/core_ext/mapper.rb
promethee-5.1.0 lib/promethee/core_ext/mapper.rb
promethee-5.0.2 lib/promethee/core_ext/mapper.rb
promethee-5.0.1 lib/promethee/core_ext/mapper.rb
promethee-5.0.0 lib/promethee/core_ext/mapper.rb
promethee-4.1.28 lib/promethee/core_ext/mapper.rb
promethee-4.1.27 lib/promethee/core_ext/mapper.rb
promethee-4.1.26 lib/promethee/core_ext/mapper.rb
promethee-4.1.25 lib/promethee/core_ext/mapper.rb
promethee-4.1.24 lib/promethee/core_ext/mapper.rb
promethee-4.1.23 lib/promethee/core_ext/mapper.rb
promethee-4.1.22 lib/promethee/core_ext/mapper.rb
promethee-4.1.21 lib/promethee/core_ext/mapper.rb
promethee-4.1.20 lib/promethee/core_ext/mapper.rb
promethee-4.1.19 lib/promethee/core_ext/mapper.rb
promethee-4.1.18 lib/promethee/core_ext/mapper.rb
promethee-4.1.17 lib/promethee/core_ext/mapper.rb
promethee-4.1.16 lib/promethee/core_ext/mapper.rb
promethee-4.1.15 lib/promethee/core_ext/mapper.rb
promethee-4.1.14 lib/promethee/core_ext/mapper.rb