Sha256: 09f21b65ff69429aa5a03926edee279b0e58e6b0b9d12d1c792150ef825d9e19

Contents?: true

Size: 551 Bytes

Versions: 9

Compression:

Stored size: 551 Bytes

Contents

require 'rails/generators'
module RailsAdminImageManager
  module Generators
    class InstallGenerator < Rails::Generators::Base

      # desc "Installs RailsAdminImageManager into your app. Get wealthy."

      def setup_route
        route "mount RailsAdminImageManager::Engine => '/admin/image-manager', as: 'image_manager'"
      end

      def create_migrations
        rake "rails_admin_image_manager:install:migrations"
      end

      def configure_dynamic_paperclip
        generate "dynamic_paperclip:install"
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_admin_image_manager-0.1.34 lib/generators/rails_admin_image_manager/install/install_generator.rb
rails_admin_image_manager-0.1.33 lib/generators/rails_admin_image_manager/install/install_generator.rb
rails_admin_image_manager-0.1.31 lib/generators/rails_admin_image_manager/install/install_generator.rb
rails_admin_image_manager-0.1.30 lib/generators/rails_admin_image_manager/install/install_generator.rb
rails_admin_image_manager-0.1.3 lib/generators/rails_admin_image_manager/install/install_generator.rb
rails_admin_image_manager-0.1.29 lib/generators/rails_admin_image_manager/install/install_generator.rb
rails_admin_image_manager-0.1.28 lib/generators/rails_admin_image_manager/install/install_generator.rb
rails_admin_image_manager-0.1.27 lib/generators/rails_admin_image_manager/install/install_generator.rb
rails_admin_image_manager-0.1.26 lib/generators/rails_admin_image_manager/install/install_generator.rb