Changes for side_bar
This commit is contained in:
1 parent
c305a2f687
commit
cbfa659928
36 files changed
+311
-289
No files matched your search
Vendored
+5
-1
@@ -17,7 +17,11 @@
|
||||
end
|
||||
|
||||
|
||||
@projects = Project.where(:create_user_id => @user.id).page(params[:page]).per(10)
|
||||
if @user
|
||||
@projects = Project.where(:create_user_id => @user.id).page(params[:page]).per(10)
|
||||
else
|
||||
@projects = Project.all.page(params[:page]).per(10)
|
||||
end
|
||||
|
||||
|
||||
%>
|
||||
|
||||
Reference in new issue
Block a user