Skip to content
Snippets Groups Projects
Commit b89e91a1 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 55b840f4
No related branches found
No related tags found
No related merge requests found
class Admin::TranslationController < Admin::ApplicationController
def translate
@text = translation_params[:text].to_s
@text = translation_params[:text].to_s.strip
head :ok and return if @text.blank?
@target = translation_params[:target]
@response = LibreTranslate.translate(
......
......@@ -20,8 +20,8 @@
<% end %>
</div>
<% end %>
<%= render 'admin/application/meta_description/form', f: f, about: post %>
</div>
<%= render 'admin/application/meta_description/form', f: f, about: post %>
</div>
<div class="col-md-4">
<%= osuny_panel t('metadata') do %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment