rom-rb/rom-rails

View on GitHub
lib/rom/rails/controller_extension.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ROM
  module Rails
    RelationParamsMissingError = Class.new(StandardError)

    module ControllerExtension
      def rom
        ROM.env
      end
    end
  end
end