routes.rb revision 601bcdf5b1ad7b39b2f1c6f6a678462af7ae3782
# IRI Routing #
###############
#
get ':repository_id(/*path)/:file',
as: :ontology_iri,
get 'ref/:version_number/:repository_id(/*path)/:file',
#
###############
}
end
end
end
end
resources :categories, only: [:index]
resources :repositories, only: [:index, :update]
resources :ontologies, only: [:index, :update]
end
end
resources :ontologies, only: [:index] do
collection do
end
end
end
resources :permissions, :only => [:index], :controller => 'teams/permissions'
end
resources :s_s_h_access, :only => :index, path: 'ssh_access'
resources :repository_settings, :only => :index
collection do
end
member do
end
end
resource :oops_request, :only => [:show, :create]
end
end
controller: :files,
controller: :history,
as: :history,
constraints: { path: /.*/ }
controller: :diffs,
# action: entries_info
controller: :files,
constraints: { path: /.*/ }
end
controller: :files,
constraints: { path: /.*/ }
controller: :files,
end