Sha256: 72c616af8620ddeab81bc2f13f5079fbe1121faa9bcc3d166a5a057e31571d30

Contents?: true

Size: 490 Bytes

Versions: 22

Compression:

Stored size: 490 Bytes

Contents

require 'rails/generators/erb'

module Erb
  module Generators
    class OauthConsumerGenerator < Erb::Generators::Base
      source_root File.expand_path('../oauth_consumer_templates', __FILE__)

      def copy_view_files
        template 'index.html.erb',              File.join('app/views', class_path, 'oauth_consumers', 'index.html.erb')
        template 'show.html.erb',               File.join('app/views', class_path, 'oauth_consumers', 'show.html.erb')
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 6 rubygems

Version Path
houston-oauth-plugin-0.5.1 lib/generators/erb/oauth_consumer_generator.rb
oauth_consumer-0.1.3 lib/generators/erb/oauth_consumer_generator.rb
panjiva-oauth-plugin-0.4.1 lib/generators/erb/oauth_consumer_generator.rb
oauth_consumer-0.1.2 lib/generators/erb/oauth_consumer_generator.rb
oauth_consumer-0.1.1 lib/generators/erb/oauth_consumer_generator.rb
oauth_consumer-0.1.0 lib/generators/erb/oauth_consumer_generator.rb
oauth-plugin-0.5.1 lib/generators/erb/oauth_consumer_generator.rb
oauth-plugin-0.5.0 lib/generators/erb/oauth_consumer_generator.rb
oauth-plugin-0.4.1 lib/generators/erb/oauth_consumer_generator.rb
oauth-plugin-0.4.0 lib/generators/erb/oauth_consumer_generator.rb
oauth-plugin-0.4.0.rc2 lib/generators/erb/oauth_consumer_generator.rb
oauth-plugin-0.4.0.rc1 lib/generators/erb/oauth_consumer_generator.rb
oauth-plugin-0.4.0.pre7 lib/generators/erb/oauth_consumer_generator.rb
oauth-plugin-0.4.0.pre6 lib/generators/erb/oauth_consumer_generator.rb
oauth-plugin-0.4.0.pre5 lib/generators/erb/oauth_consumer_generator.rb
insrc-oauth-plugin-0.4.0.pre6 lib/generators/erb/oauth_consumer_generator.rb
insrc-oauth-plugin-0.4.0.pre5 lib/generators/erb/oauth_consumer_generator.rb
le1t0-oauth-plugin-0.4.0.pre4.001 lib/generators/erb/oauth_consumer_generator.rb
oauth-plugin-0.4.0.pre4 lib/generators/erb/oauth_consumer_generator.rb
oauth-plugin-0.4.0.pre3 lib/generators/erb/oauth_consumer_generator.rb