Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenk committed Oct 13, 2015
2 parents f071185 + 44e0d21 commit 27e239d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
6 changes: 0 additions & 6 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -701,12 +701,6 @@
as: :repository_tree,
constraints: FilesRouterConstraint.new

get '*path',
controller: :ontologies,
action: :show,
as: :iri,
constraints: IRIRouterConstraint.new

root :to => 'home#index'

end
2 changes: 1 addition & 1 deletion lib/hets/hets_error_process.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Hets
class HetsErrorProcess
HETS_ERROR_CODES = %w(400, 422)
HETS_ERROR_CODES = %w(400, 422, 500)
HETS_ERROR_MESSAGE_REGEXP = /\A[*]{3}\s*Error:\s*/

attr_reader :error, :response
Expand Down
3 changes: 1 addition & 2 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
#
User-Agent: *
Disallow: /*?
Disallow: /repositories/*/diff
Disallow: /

0 comments on commit 27e239d

Please sign in to comment.