Sha256: 4de45c372b6fa8f054c4695d474b58225b12ea46e380db6e8018cce88666274f

Contents?: true

Size: 1.85 KB

Versions: 22

Compression:

Stored size: 1.85 KB

Contents

Rails.application.routes.draw do
  # start jiinda method routes
  jinda_methods = ['pending', 'status', 'search', 'doc', 'doc_print', 'logs', 'ajax_notice']
  jinda_methods += ['init', 'run', 'run_mail', 'document', 'run_do', 'run_form', 'end_form']
  jinda_methods += ['run_redirect', 'run_direct_to','run_if']
  jinda_methods += ['error_logs', 'notice_logs', 'cancel', 'run_output', 'end_output']
  jinda_methods.each do |aktion| get "/jinda/#{aktion}" => "jinda##{aktion}" end
  post '/jinda/init' => 'jinda#init'
  post '/jinda/pending' => 'jinda#index'
  post '/jinda/end_form' => 'jinda#end_form'
  post '/jinda/end_output' => 'jinda#end_output'
  # end jinda method routes
  post '/auth/:provider/callback' => 'sessions#create'
  get '/auth/:provider/callback' => 'sessions#create'
  get '/auth/failure' => 'sessions#failure'
  get '/logout' => 'sessions#destroy', :as => 'logout'
  get '/articles/my' => 'articles#my'
  get '/articles/my/destroy' => 'articles#destroy'
  get '/articles/show' => 'articles/show'
  get '/articles/edit' => 'articles/edit'
  get '/docs/my' => 'docs/my'
  get '/notes/my' => 'notes/my'
  get '/docs/my/destroy' => 'docs#destroy'
  get '/notes/my/destroy/:id' => 'notes#destroy'
  get '/notes/destroy/:id' => 'notes#destroy'
  get '/jinda/document/:id' => 'jinda#document'
  resources :articles do resources :comments end
  resources :comments
  resources :notes
  resources :docs
  resources :users
  resources :identities
  resources :sessions
  resources :password_resets
  resources :jinda, :only => [:index, :new]
  # root :to => 'jinda#index'
  # api
  get '/api/v1/notes/my' => 'api/v1/notes#my'
  post '/api/v1/notes' => 'api/v1/notes#create', as: 'api_v1_notes'
  namespace :api do
  namespace :v1 do resources :notes, :only => [:index] end
  end
  # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end

Version data entries

22 entries across 19 versions & 2 rubygems

Version Path
jinda-0.8.0 app/config/routes.rb
jinda-0.8.0 config/routes.rb
jinda-0.7.7.4 config/routes.rb
jinda-0.7.7.4 app/config/routes.rb
jinda-0.7.7.3 config/routes.rb
jinda-0.7.7.3 app/config/routes.rb
jinda-0.7.7.2 config/routes.rb
jinda-0.7.7.1 config/routes.rb
jinda_mind-1.0.0 config/routes.rb
jinda-0.7.7 config/routes.rb
jinda-0.7.6 config/routes.rb
jinda-0.7.5.5 config/routes.rb
jinda-0.7.5.4 config/routes.rb
jinda-0.7.5.3 config/routes.rb
jinda-0.7.5.2 config/routes.rb
jinda-0.7.5.0 config/routes.rb
jinda-0.7.3 config/routes.rb
jinda-0.7.2 config/routes.rb
jinda-0.7.1 config/routes.rb
jinda-0.7.0.4 config/routes.rb