mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
Rename permision_eval - permission_eval
Hopefully this will help with getting rid of all the errors that we've been receiving for PermissionEval. Closes SCI-2991.
This commit is contained in:
parent
27ccf7b8fe
commit
b21bdddf15
3 changed files with 1 additions and 7 deletions
|
@ -6,7 +6,7 @@ module SmartAnnotations
|
|||
include Canaid::Helpers::PermissionsHelper
|
||||
|
||||
def check(user, team, type, object)
|
||||
send("validate_#{type}_permissions", user, team, object)
|
||||
__send__("validate_#{type}_permissions", user, team, object)
|
||||
end
|
||||
|
||||
private
|
|
@ -1,8 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'smart_annotations/permision_eval'
|
||||
require 'smart_annotations/html_preview'
|
||||
|
||||
module SmartAnnotations
|
||||
class TagToHtml
|
||||
attr_reader :html
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'smart_annotations/permision_eval'
|
||||
require 'smart_annotations/text_preview'
|
||||
|
||||
module SmartAnnotations
|
||||
class TagToText
|
||||
attr_reader :text
|
||||
|
|
Loading…
Reference in a new issue