Sha256: 1fa8bd97ee644a32740b752d0d9934199ce306179449553182537571a10dac2c
Contents?: true
Size: 948 Bytes
Versions: 1
Compression:
Stored size: 948 Bytes
Contents
# coding: utf-8 Rails.application.routes.draw do namespace :formily do resources :form_types resources :forms do collection do post 'add_new_response', action: :add_new_response, as: :add_new_response post 'preview/form', action: :preview post 'reload_formily_table', action: :reload_formily_table end end resources :formilyable, only: [:create, :destroy, :new] resources :inputs, only: [:destroy, :create, :update] do collection do post 'render_input_html', action: :render_input_html get 'render_related', action: :render_related end end resources :submit_data, only: [] do collection do post 'submit', action: :submit post 'upload_file', action: :upload_file end end resources :file, only: [:destroy] namespace :iframe do get 'forms/:id', to: 'forms#show', as: :form end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
formily-0.0.5.5.7 | config/routes.rb |