gitlab-org--gitlab-foss/app/controllers/projects/base_tree_controller.rb
Dmitriy Zaporozhets 160bd862be
Refactoring for EditTree and NewTree controllers and contexts
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-05 12:21:11 +02:00

8 lines
222 B
Ruby

class Projects::BaseTreeController < Projects::ApplicationController
include ExtractsPath
before_filter :authorize_read_project!
before_filter :authorize_code_access!
before_filter :require_non_empty_project
end