Skip to content

Commit

Permalink
show periodical single records
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Aug 8, 2019
1 parent c768210 commit c4dc82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/repositories_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def index
end

def show
repository = Client.where(symbol: params[:id]).where(deleted_at: nil).where(client_type: "repository").first
repository = Client.where(symbol: params[:id]).where(deleted_at: nil).first
fail ActiveRecord::RecordNotFound unless repository.present?

options = {}
Expand Down

0 comments on commit c4dc82e

Please sign in to comment.