app/controllers/lolita/i18n_controller.rb in lolita-i18n-0.2.0 vs app/controllers/lolita/i18n_controller.rb in lolita-i18n-0.3.0

- old
+ new

@@ -14,19 +14,9 @@ render :nothing => true, :json => {error: !Lolita::I18n::Backend.set(params[:id],params[:translation])} end end end - def translate_untranslated - respond_to do |format| - format.json do - google_translate = Lolita::I18n::GoogleTranslate.new @active_locale - google_translate.run - render :nothing => true, :status => 200, :json => {errors: google_translate.errors, :translated => google_translate.untranslated} - end - end - end - private def is_lolita_resource? true end \ No newline at end of file