Sha256: f7a6244a745de201dfb1a38b4bd6722712ef7de25097ae72667c1f5ff8a5a44c

Contents?: true

Size: 325 Bytes

Versions: 8

Compression:

Stored size: 325 Bytes

Contents

module Teleport
  module Bootstrap
    class NavbarGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      def add
        @path = ask 'Path for _navbar.haml', :bold, default: 'app/views/layouts/_navbar.haml'
        copy_file '_navbar.haml', @path
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
teleporter-2.0.11 lib/generators/teleport/bootstrap/navbar.rb
teleporter-2.0.10 lib/generators/teleport/bootstrap/navbar.rb
teleporter-2.0.9 lib/generators/teleport/bootstrap/navbar.rb
teleporter-2.0.8 lib/generators/teleport/bootstrap/navbar.rb
teleporter-2.0.7 lib/generators/teleport/bootstrap/navbar.rb
teleporter-2.0.6 lib/generators/teleport/bootstrap/navbar.rb
teleporter-2.0.4 lib/generators/teleport/bootstrap/navbar.rb
teleporter-2.0.2 lib/generators/teleport/bootstrap/navbar.rb