Public git read-only access via http

This commit is contained in:
Dmitriy Zaporozhets 2013-01-10 20:17:57 +02:00
parent eb626edd3f
commit 4c6224aad1
10 changed files with 89 additions and 15 deletions

View file

@ -0,0 +1,11 @@
class Public::ProjectsController < ApplicationController
skip_before_filter :authenticate_user!,
:reject_blocked, :set_current_user_for_observers,
:add_abilities
layout 'public'
def index
@projects = Project.where(public: true)
end
end