diff --git a/app/views/tags/index.rb b/app/views/tags/index.rb index fccc9d1..a10f1fd 100644 --- a/app/views/tags/index.rb +++ b/app/views/tags/index.rb @@ -12,7 +12,7 @@ module Adamantium /[a-z]/.match?(grouper) ? grouper : "#" } .sort - .map { |group, tags| {group: group, tags: tags.map {|tag| {tag: tag, count: tag.posts.count} }} } + .map { |group, tags| {group: group, tags: tags.map { |tag| {tag: tag, count: tag.posts.count} }} } end end end diff --git a/lib/adamantium/client/blue_sky.rb b/lib/adamantium/client/blue_sky.rb index 1aed047..0d61986 100644 --- a/lib/adamantium/client/blue_sky.rb +++ b/lib/adamantium/client/blue_sky.rb @@ -17,10 +17,10 @@ module Adamantium end content = if post[:name] - "#{post[:name]} — #{settings.micropub_site_url}/post/#{post[:slug]}" - else - "#{sanitze_post(post[:content])} \r\n\r\n 🔗 #{settings.micropub_site_url}/post/#{post[:slug]}" - end + "#{post[:name]} — #{settings.micropub_site_url}/post/#{post[:slug]}" + else + "#{sanitze_post(post[:content])} \r\n\r\n 🔗 #{settings.micropub_site_url}/post/#{post[:slug]}" + end credentials = Bskyrb::Credentials.new(settings.blue_sky_username, settings.blue_sky_password) session = Bskyrb::Session.new(credentials, settings.blue_sky_url) diff --git a/slices/admin/views/trips/show.rb b/slices/admin/views/trips/show.rb index 76826eb..060fe74 100644 --- a/slices/admin/views/trips/show.rb +++ b/slices/admin/views/trips/show.rb @@ -7,7 +7,7 @@ module Admin include Deps["repos.trip_repo", "repos.post_repo"] expose :trip do |id:| - trip = trip_repo.fetch(id) + trip_repo.fetch(id) end expose :trip_summary do |trip|