Sha256: 8fee350a45fed00bb9d82284b9e2301d88031b6631fa9f0e8372bab4d0dbb562
Contents?: true
Size: 652 Bytes
Versions: 4
Compression:
Stored size: 652 Bytes
Contents
module ActionDispatch::Routing class Mapper def mount_carnival_at(mount_location) Carnival::Config.mount_at = mount_location get '/carnival/load_select_options' => 'carnival/base_admin#load_select_options', as: :load_select_options scope mount_location do get 'carnival-base/load_dependent_select_options/:presenter/:field/:dependency_field/:dependency_value' => 'carnival/base_admin#load_dependent_select_options', as: :load_dependent_select_options get 'render_inner_form' => 'carnival/base_admin#render_inner_form' root to: Carnival::Config.root_action, as: :carnival_root end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
carnival-0.3.2 | lib/carnival/routes.rb |
carnival-0.3.1 | lib/carnival/routes.rb |
carnival-0.3.0 | lib/carnival/routes.rb |
carnival-0.2.8 | lib/carnival/routes.rb |