Sha256: 594e358a466cc687a455fd39d850014249b8d4a8ec0ec514bc4370953ec0aefe

Contents?: true

Size: 531 Bytes

Versions: 5

Compression:

Stored size: 531 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"
elsif Desert::VersionChecker.rails_version_is_below_220?
  require "#{dir}/plugin_templates/2.0.0/action_mailer"
else
  require "#{dir}/plugin_templates/2.2.0/action_mailer"
end

require "#{dir}/plugin_templates/action_view"

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
natlownes-desert-0.5.2 lib/desert/plugin_templates.rb
desert-0.5.4 lib/desert/plugin_templates.rb
bborn-desert-0.5.3 lib/desert/plugin_templates.rb
desert-0.5.3 lib/desert/plugin_templates.rb
desert-0.5.2 lib/desert/plugin_templates.rb