Sha256: bd5a9f50f45eb17fda119a4c76764696130f0df55611b08d29791133fc6f3596

Contents?: true

Size: 416 Bytes

Versions: 3

Compression:

Stored size: 416 Bytes

Contents

dir = File.dirname(__FILE__)
require "#{dir}/plugin_templates/action_controller"
if Desert::VersionChecker.rails_version_is_below_1990?
  require "#{dir}/plugin_templates/1.2.0/action_mailer"
elsif Desert::VersionChecker.rails_version_is_below_rc2?
  require "#{dir}/plugin_templates/1.99.0/action_mailer"
else
  require "#{dir}/plugin_templates/2.0.0/action_mailer"
end
require "#{dir}/plugin_templates/action_view"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
desert-0.3.0 lib/desert/plugin_templates.rb
desert-0.2.1 lib/desert/plugin_templates.rb
desert-0.2.2 lib/desert/plugin_templates.rb