mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-31 03:59:51 +08:00
Update repository_rows_controller.rb
This commit is contained in:
parent
1c235aafe5
commit
313d2d27b9
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ class RepositoryRowsController < ApplicationController
|
|||
@repository = current_team.repositories
|
||||
.eager_load(:repository_columns)
|
||||
.find_by_id(params[:repository_id])
|
||||
@record = @repository.repository_row
|
||||
@record = @repository.repository_rows
|
||||
.eager_load(:repository_columns)
|
||||
.find_by_id(params[:id])
|
||||
render_404 unless @repository && @record
|
||||
|
|
Loading…
Reference in a new issue