mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 23:48:03 +08:00
Fix markup
This commit is contained in:
parent
338f3a0192
commit
f00561cc22
1 changed files with 0 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class MyModuleRepositoriesController < ApplicationController
|
class MyModuleRepositoriesController < ApplicationController
|
||||||
|
|
||||||
before_action :load_my_module, only: %i(show full_view_table dropdown_list)
|
before_action :load_my_module, only: %i(show full_view_table dropdown_list)
|
||||||
before_action :load_repository, only: %i(show full_view_table)
|
before_action :load_repository, only: %i(show full_view_table)
|
||||||
before_action :check_my_module_view_permissions, only: %i(show full_view_table dropdown_list)
|
before_action :check_my_module_view_permissions, only: %i(show full_view_table dropdown_list)
|
||||||
|
@ -33,7 +32,6 @@ class MyModuleRepositoriesController < ApplicationController
|
||||||
render json: { html: render_to_string(partial: 'my_modules/repositories/full_view_table') }
|
render json: { html: render_to_string(partial: 'my_modules/repositories/full_view_table') }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def dropdown_list
|
def dropdown_list
|
||||||
@repositories = Repository.accessible_by_teams(current_team)
|
@repositories = Repository.accessible_by_teams(current_team)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue