Skip to content

Commit

Permalink
Assets cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBongart committed May 20, 2018
1 parent be1a1f7 commit c4b75c5
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Events
# Easy RSVP

An accountless app to organize events and invite people.

Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class='container' id='main'>
<nav class='navbar navbar-light mb-2'>
<%= link_to root_path, class: 'navbar-brand' do %>
<%= image_tag 'logo-small', id: 'logo' %>
<%= image_tag 'logo-small.png', id: 'logo' %>
Easy RSVP
<% end %>
</nav>
Expand Down
5 changes: 1 addition & 4 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

module Events
module EasyRSVP
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 5.2
Expand All @@ -31,8 +31,5 @@ class Application < Rails::Application

# Don't generate system test files.
config.generators.system_tests = nil

config.assets.paths << Rails.root.join("vendor", "assets", "javascripts")
config.assets.paths << Rails.root.join("vendor", "assets", "stylesheets")
end
end
10 changes: 0 additions & 10 deletions config/cable.yml

This file was deleted.

3 changes: 3 additions & 0 deletions config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
# Add Yarn node_modules folder to the asset load path.
Rails.application.config.assets.paths << Rails.root.join('node_modules')

Rails.application.config.assets.paths << Rails.root.join("vendor", "assets", "javascripts")
Rails.application.config.assets.paths << Rails.root.join("vendor", "assets", "stylesheets")

# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "events",
"name": "easy-rsvp",
"private": true,
"dependencies": {}
}

0 comments on commit c4b75c5

Please sign in to comment.