Sha256: c96822971b9730ac19a6371e20a8a3e34737d0189e24a5c290f5ecd82fd48e05

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

SimpleAdmin::Engine.routes.draw do
  SimpleAdmin::registered.each do |interface|
    resources interface.collection,
              :controller => :admin,
              :as => "simple_admin_#{interface.collection}",
              :defaults => {:interface => interface.collection}
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple_admin-0.3.1 config/routes.rb
simple_admin-0.3.0 config/routes.rb
simple_admin-0.2.1 config/routes.rb
simple_admin-0.1.0 config/routes.rb