Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 40e9c8a3b0
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (13 sloc) 0.427 kb
# Include hook code here
begin
require 'erubis/helpers/rails_helper'
require 'rails_xss'
Erubis::Helpers::RailsHelper.engine_class = RailsXss::Erubis
Module.class_eval do
include RailsXss::SafeHelpers
end
require 'rails_xss_escaping'
require 'av_patch'
rescue LoadError
puts "Could not load all modules required by rails_xss. Please make sure erubis is installed an try again."
end unless $gems_rake_task
Jump to Line
Something went wrong with that request. Please try again.