Sha256: 0d67eeec8cbc6f5708640222018c7b02bad9d34030c8d43453ab794d61fe787b
Contents?: true
Size: 316 Bytes
Versions: 2
Compression:
Stored size: 316 Bytes
Contents
SimpleAdmin::Engine.routes.draw do root :to => "admin#dashboard" SimpleAdmin::registered.each do |interface| resources interface.route, :controller => :admin, :as => "simple_admin_#{interface.collection}", :defaults => {:interface => interface.collection} end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_admin-0.7.1 | config/routes.rb |
simple_admin-0.6.0 | config/routes.rb |