5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 05:46:21 +00:00

fix: agregada dummy_data en el método edit de posts_controller #15076 #15039
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
maki 2024-01-31 15:47:19 -03:00
parent b763084474
commit b233a74f61

View file

@ -83,6 +83,7 @@ class PostsController < ApplicationController
breadcrumb post.title.value, site_post_path(site, post, locale: locale), match: :exact breadcrumb post.title.value, site_post_path(site, post, locale: locale), match: :exact
breadcrumb 'posts.edit', '' breadcrumb 'posts.edit', ''
@moderation_queue = YAML.safe_load(File.read(Rails.root.join('db', 'seeds', 'moderation_queue.yaml'))) @moderation_queue = YAML.safe_load(File.read(Rails.root.join('db', 'seeds', 'moderation_queue.yaml')))
dummy_data
end end
def update def update