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