Sha256: 092e114b5333824ffe538ca423c6fae48c0261d6a49579908c5e534910a8d44a

Contents?: true

Size: 358 Bytes

Versions: 1

Compression:

Stored size: 358 Bytes

Contents

module Astrochimp
  module Generators
    class AstrochimpGenerator < Rails::Generators::Base
      namespace "astrochimp"

      desc "Adds the route for Astrochimp"

      def add_astrochimp_routes
        astrochimp_route  = 'mount Astrochimp::Engine => "/astrochimp", :as => "astrochimp_engine"'
        route astrochimp_route
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
astrochimp-0.0.2 lib/generators/astrochimp/astrochimp_generator.rb