class StaticPagesController < ApplicationController
  before_action :logged_in_user, only: :donation

  def home
    @song = Song.includes(playings: :user).pickup
    @lives = Live.published.order_by_date.limit(5)
  end

  def donate; end
end

class StaticPagesController < ApplicationController
  before_action :logged_in_user, only: :donate

  def home
    @song = Song.includes(playings: :user).pickup
    @lives = Live.published.order_by_date.limit(5)
  end

  def donate; end
end

Fix a typo 'donation -> donate'
Fix a typo 'donation -> donate'
