fix unauth for public
This commit is contained in:
parent
4c6224aad1
commit
122acb2254
5 changed files with 16 additions and 13 deletions
|
@ -6,6 +6,6 @@ class Public::ProjectsController < ApplicationController
|
|||
layout 'public'
|
||||
|
||||
def index
|
||||
@projects = Project.where(public: true)
|
||||
@projects = Project.public
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue