Trying to work on new theme
This commit is contained in:
@@ -8,7 +8,7 @@ class PagesController < ApplicationController
|
||||
# Homepage showing featured parties
|
||||
def home
|
||||
# @parties = Party.published.featured.limit(3)
|
||||
@parties = Party.where(state: :published).order(created_at: :desc)
|
||||
# @parties = Party.where(state: :published).order(created_at: :desc)
|
||||
|
||||
if user_signed_in?
|
||||
return redirect_to(dashboard_path)
|
||||
|
||||
Reference in New Issue
Block a user