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.11.9 lib/promethee/core_ext/mapper.rb
promethee-1.11.8 lib/promethee/core_ext/mapper.rb
promethee-1.11.7 lib/promethee/core_ext/mapper.rb
promethee-1.11.6 lib/promethee/core_ext/mapper.rb
promethee-1.11.5 lib/promethee/core_ext/mapper.rb
promethee-1.11.4 lib/promethee/core_ext/mapper.rb
promethee-1.11.3 lib/promethee/core_ext/mapper.rb
promethee-1.11.2 lib/promethee/core_ext/mapper.rb
promethee-1.11.1 lib/promethee/core_ext/mapper.rb
promethee-1.11.0 lib/promethee/core_ext/mapper.rb
promethee-1.10.9 lib/promethee/core_ext/mapper.rb
promethee-1.10.8 lib/promethee/core_ext/mapper.rb
promethee-1.10.7 lib/promethee/core_ext/mapper.rb
promethee-1.10.6 lib/promethee/core_ext/mapper.rb
promethee-1.10.5 lib/promethee/core_ext/mapper.rb
promethee-1.10.4 lib/promethee/core_ext/mapper.rb
promethee-1.10.3 lib/promethee/core_ext/mapper.rb
promethee-1.10.2 lib/promethee/core_ext/mapper.rb
promethee-1.10.1 lib/promethee/core_ext/mapper.rb
promethee-1.10.0 lib/promethee/core_ext/mapper.rb