projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
8183: When there are more than 200 readable projects, build the tree in steps;
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
repositories_controller.rb
diff --git
a/apps/workbench/app/controllers/repositories_controller.rb
b/apps/workbench/app/controllers/repositories_controller.rb
index 89dd96bc6e4264fe2b258583adb1c1ca1708d67a..c5b3501b328e1214cc00c292c19f61d0be07312f 100644
(file)
--- a/
apps/workbench/app/controllers/repositories_controller.rb
+++ b/
apps/workbench/app/controllers/repositories_controller.rb
@@
-1,8
+1,5
@@
class RepositoriesController < ApplicationController
before_filter :set_share_links, if: -> { defined? @object }
class RepositoriesController < ApplicationController
before_filter :set_share_links, if: -> { defined? @object }
- if Repository.disable_repository_browsing?
- before_filter :render_browsing_disabled, only: [:show_tree, :show_blob, :show_commit]
- end
def index_pane_list
%w(recent help)
def index_pane_list
%w(recent help)
@@
-35,10
+32,4
@@
class RepositoriesController < ApplicationController
def show_commit
@commit = params[:commit]
end
def show_commit
@commit = params[:commit]
end
-
- protected
-
- def render_browsing_disabled
- render_not_found ActionController::RoutingError.new("Repository browsing features disabled")
- end
end
end