/usr/lib/ruby/vendor_ruby/remotipart/rails/engine.rb is in ruby-remotipart 1.2.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Configure Rails 3.1
module Remotipart
module Rails
class Engine < ::Rails::Engine
config.root = '/usr/share/ruby-remotipart'
initializer "remotipart.view_helper" do
ActionView::Base.send :include, RequestHelper
ActionView::Base.send :include, ViewHelper
end
initializer "remotipart.controller_helper" do
ActionController::Base.send :include, RequestHelper
ActionController::Base.send :include, RenderOverrides
end
initializer "remotipart.include_middelware" do
config.app_middleware.insert_after ActionDispatch::ParamsParser, Middleware
end
end
end
end
|