Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

.message-selected {
background-color: oklch(98.5% 0.002 247.839) !important;
background-color: oklch(92% 0.05 247.839) !important;
}

@media (prefers-color-scheme: dark) {
Expand Down
9 changes: 1 addition & 8 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,11 @@
document.documentElement.classList.remove('dark')
}
</script>
<title><%=
if yield(:title).empty?
'blade.ruby-lang.org'
else
yield(:title)
end
%></title>
<title><%= yield(:title) || 'blade.ruby-lang.org' %></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= stylesheet_link_tag "tailwind", "data-turbo-track": "reload" %>

<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
<%= javascript_importmap_tags %>
</head>
Expand Down
14 changes: 0 additions & 14 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,3 @@ production:
primary: &primary_production
<<: *default
database: blade_ruby_lang_org_production
username: blade_ruby_lang_org
password: <%= ENV["R81_PG_DATABASE_PASSWORD"] %>
cache:
<<: *primary_production
database: blade_ruby_lang_org_production_cache
migrations_paths: db/cache_migrate
queue:
<<: *primary_production
database: blade_ruby_lang_org_production_queue
migrations_paths: db/queue_migrate
cable:
<<: *primary_production
database: blade_ruby_lang_org_production_cable
migrations_paths: db/cable_migrate
1 change: 0 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Rails.application.routes.draw do
resources :messages
get '/:list_name/:list_seq', to: 'messages#show'
get '/:list_name/', to: 'messages#index'

Expand Down
2 changes: 1 addition & 1 deletion test/system/messages_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class MessagesTest < ApplicationSystemTestCase
end

test 'visiting the search page, and searching a message' do
visit messages_url
visit root_url
assert_selector "h1", text: "blade.ruby-lang.org"

fill_in :q, with: @message1.body
Expand Down