SumOfUs/Champaign

View on GitHub
app/controllers/plugins/texts_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class Plugins::TextsController < Plugins::BaseController
  private

  def permitted_params
    params
      .require(:plugins_text)
      .permit(:content)
  end

  def plugin_class
    Plugins::Text
  end

  def plugin_symbol
    :plugins_text
  end
end