Sha256: 3bdd5cc859e84724c36d8b2af9764da310d708981d688b4554e8d0809cb43081

Contents?: true

Size: 336 Bytes

Versions: 21

Compression:

Stored size: 336 Bytes

Contents

module Fuel
  module Generators

    class ViewsGenerator < Rails::Generators::Base
      desc "Copies Fuel views to your application."

      include Thor::Actions

      source_root File.expand_path('../../../../app/views', __FILE__)

      def copy_views
        directory 'fuel', 'app/views/fuel/posts'
      end

    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
fuel-0.4.6 lib/generators/fuel/views_generator.rb
fuel-0.4.5 lib/generators/fuel/views_generator.rb
fuel-0.4.4 lib/generators/fuel/views_generator.rb
fuel-0.4.3 lib/generators/fuel/views_generator.rb
fuel-0.4.2 lib/generators/fuel/views_generator.rb
fuel-0.4.1 lib/generators/fuel/views_generator.rb
fuel-0.3.34 lib/generators/fuel/views_generator.rb
fuel-0.3.33 lib/generators/fuel/views_generator.rb
fuel-0.3.32 lib/generators/fuel/views_generator.rb
fuel-0.3.31 lib/generators/fuel/views_generator.rb
fuel-0.3.30 lib/generators/fuel/views_generator.rb
fuel-0.3.29 lib/generators/fuel/views_generator.rb
fuel-0.3.28 lib/generators/fuel/views_generator.rb
fuel-0.3.27 lib/generators/fuel/views_generator.rb
fuel-0.3.26 lib/generators/fuel/views_generator.rb
fuel-0.3.25 lib/generators/fuel/views_generator.rb
fuel-0.3.24 lib/generators/fuel/views_generator.rb
fuel-0.3.23 lib/generators/fuel/views_generator.rb
fuel-0.3.22 lib/generators/fuel/views_generator.rb
fuel-0.3.21 lib/generators/fuel/views_generator.rb