Sha256: 5c68fb95a70d61b2a5fb4d1ac62f6b960600498259410134cb8f9f6227f7c95e
Contents?: true
Size: 883 Bytes
Versions: 18
Compression:
Stored size: 883 Bytes
Contents
module Noodall module FormBuilder class Routes class << self def draw(app) app.routes.draw do namespace 'noodall', :as => 'noodall', :path => '' do resources :forms do resources :form_responses end end namespace 'noodall/admin', :as => 'noodall_admin', :path => 'admin' do resources :forms do resources :form_responses do member do get :mark_as_spam end end end resources :fields do collection do get :form end end match 'components/form/:type' => 'components#form' end end end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems