fix unauth for public

This commit is contained in:
Dmitriy Zaporozhets 2013-01-12 21:54:52 +02:00
parent 4c6224aad1
commit 122acb2254
5 changed files with 16 additions and 13 deletions

View file

@ -6,6 +6,6 @@ class Public::ProjectsController < ApplicationController
layout 'public'
def index
@projects = Project.where(public: true)
@projects = Project.public
end
end