diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 12:35:42 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 12:35:42 +0200 |
commit | 57f3409bcc6a4bee6bc29f8cd03f501c117655b0 (patch) | |
tree | d971f6d22d4fed6939832f61aec96092f7158321 /app/controllers/projects_controller.rb | |
parent | f3dfd2299381778d66f833520afa7aeb7804f576 (diff) | |
download | gitlab-ce-57f3409bcc6a4bee6bc29f8cd03f501c117655b0.tar.gz |
move Wall to own resource
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index b4fb3de317c..f2718344a3d 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -68,22 +68,6 @@ class ProjectsController < ProjectResourceController end end - # - # Wall - # - - def wall - return render_404 unless @project.wall_enabled - - @target_type = :wall - @target_id = nil - @note = @project.notes.new - - respond_to do |format| - format.html - end - end - def destroy return access_denied! unless can?(current_user, :remove_project, project) |