Add drafted and published states

This commit is contained in:
Kevin McConnell
2025-01-07 17:13:56 +00:00
parent f209c23e45
commit cd1e6378d0
13 changed files with 69 additions and 8 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ class BubblesController < ApplicationController
before_action :set_bubble, only: %i[ show edit update destroy ]
def index
@bubbles = @filter.bubbles
@bubbles = @filter.bubbles.published_or_drafted_by(Current.user)
end
def create