Sha256: 857b2cd840d602be8449434556105e32444d79c9c1e5e8ab47ae0b2d2be3c4da

Contents?: true

Size: 536 Bytes

Versions: 1

Compression:

Stored size: 536 Bytes

Contents

# application_controller.rb
inject_into_file "app/controllers/application_controller.rb", before: 'end' do
<<-EOF

  # controller_helpers

  # authentication_token

  # authorization

EOF
end

# application.rb
inject_into_file "config/application.rb", after: "class Application < Rails::Application\n" do
<<-EOF

    # timezone

    # scaffold

    # active_job

    # web_console

EOF
end

# routes.rb
inject_into_file "config/routes.rb", after: "Rails.application.routes.draw do\n" do
<<-EOF

  # active_job

  # web_console

EOF
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crosstie-0.0.7 lib/crosstie/templates/skeleton.rb