Sha256: 8ba2e9df48fd5f359623babe5a41b17da82aae4ffbc1075b3247992c23c535ff

Contents?: true

Size: 881 Bytes

Versions: 4

Compression:

Stored size: 881 Bytes

Contents

Rails.application.routes.draw do
  get "model_info/DBNotes"

  #get "model_info/index"

  get "DBNotes" => "ModelInfo#DBNotes"

  match 'tables/:table/columns/:column', to: "ModelInfo#show_notes_for_column", as: "table_column"

  match 'add_note', to: "ModelInfo#add_note"

  match 'add_comment', to: "ModelInfo#add_comment"

  match 'get_login_status', to: "ModelInfo#user_logged_in"

  match 'user_authenticate', to: "ModelInfo#user_authenticate"

  match 'is_user_logged_in', to: "ModelInfo#is_user_logged_in"

  match 'get_author_name', to: "ModelInfo#get_author_name"

  match 'get_table_notes_count', to: "ModelInfo#get_table_notes_count"

  match 'get_column_notes_count', to: "ModelInfo#get_column_notes_count"

  match 'get_column_notes_count_within_a_table', to: "ModelInfo#get_column_notes_count_within_a_table"

  resources :notes do 
  	resources :comments
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
db_notes_engine2-0.0.4 config/routes.rb
db_notes_engine2-0.0.3 config/routes.rb
db_notes_engine2-0.0.2 config/routes.rb
db_notes_engine2-0.0.1 config/routes.rb