denny/ShinyCMS-ruby

View on GitHub
lib/templates/shiny/plugin/app/controllers/%namespaced_name%/admin_controller.rb.tt

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

<%= wrap_in_modules <<~rb
  # Base controller for #{camelized_modules} admin features
  # Inherits from ShinyCMS AdminController
  class AdminController < ::AdminController
    helper Rails.application.routes.url_helpers
  end
rb
%>