Sha256: f250277727b50fd1f76016bd919507ae156e365ad422213e96888b0056195691
Contents?: true
Size: 925 Bytes
Versions: 20
Compression:
Stored size: 925 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 put :mark_as_spam put :mark_as_not_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
20 entries across 20 versions & 1 rubygems