diff --git a/app/views/action_text/content/_layout.html.erb b/app/views/action_text/content/_layout.html.erb new file mode 100644 index 0000000000000000000000000000000000000000..898a5066770e08c389a01f8428b91e6b2424c95f --- /dev/null +++ b/app/views/action_text/content/_layout.html.erb @@ -0,0 +1 @@ +<%= render_action_text_content(content) %> diff --git a/lib/tasks/app.rake b/lib/tasks/app.rake index c07398f9114127ca070a739c7968a96195758022..059f700376a0b0bcdc6c4d52522b6844d1801d27 100644 --- a/lib/tasks/app.rake +++ b/lib/tasks/app.rake @@ -19,6 +19,9 @@ namespace :app do university.sms_sender_name ||= 'Osuny' university.save } + Communication::Website::Post.find_each { |post| + post.update(text: post.old_text) + } end namespace :db do