debian-mirror-gitlab/app/controllers/projects/base_tree_controller.rb

9 lines
222 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
class Projects::BaseTreeController < Projects::ApplicationController
include ExtractsPath
before_filter :authorize_read_project!
before_filter :authorize_code_access!
before_filter :require_non_empty_project
end