Module: Bulkrax::ApplicationHelper
- Includes:
- Hyrax::HyraxHelperBehavior
- Defined in:
- app/helpers/bulkrax/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#coderay(value, opts) ⇒ Object
8 9 10 11 12 13 |
# File 'app/helpers/bulkrax/application_helper.rb', line 8 def coderay(value, opts) CodeRay .scan(value, :ruby) .html(opts) .html_safe # rubocop:disable Rails/OutputSafety end |