Sha256: 1638658f6dc26b84750179d054c1a161f2525662dcfb1c3c7ce18b1b8b917e4f
Contents?: true
Size: 579 Bytes
Versions: 7
Compression:
Stored size: 579 Bytes
Contents
require 'rails/generators/base' module Proclaim module Generators class ViewsGenerator < Rails::Generators::Base source_root File.expand_path("../../../../app/views/proclaim", __FILE__) desc "Copy all Proclaim views into application" def copy_views directory :comments, "app/views/proclaim/comments" directory :posts, "app/views/proclaim/posts" directory :subscription_mailer, "app/views/proclaim/subscription_mailer" directory :subscriptions, "app/views/proclaim/subscriptions" directory "../layouts", "app/views/layouts" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems