Maintenance: Resolved rubocop Style/AccessModifierDeclarations violations.
This commit is contained in:
parent
9269385acd
commit
93550ad494
3 changed files with 9 additions and 3 deletions
|
@ -1,6 +1,9 @@
|
||||||
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
||||||
|
|
||||||
module ExtraCollection
|
module ExtraCollection
|
||||||
|
|
||||||
|
module_function
|
||||||
|
|
||||||
def session( collections, assets, user )
|
def session( collections, assets, user )
|
||||||
|
|
||||||
# all base stuff
|
# all base stuff
|
||||||
|
@ -45,5 +48,4 @@ module ExtraCollection
|
||||||
|
|
||||||
[collections, assets]
|
[collections, assets]
|
||||||
end
|
end
|
||||||
module_function :session # rubocop:disable Style/AccessModifierDeclarations
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
||||||
|
|
||||||
module ExtraCollection
|
module ExtraCollection
|
||||||
|
|
||||||
|
module_function
|
||||||
|
|
||||||
def session( collections, assets, user )
|
def session( collections, assets, user )
|
||||||
return [collections, assets] if !user
|
return [collections, assets] if !user
|
||||||
|
|
||||||
|
@ -15,5 +18,4 @@ module ExtraCollection
|
||||||
|
|
||||||
[collections, assets]
|
[collections, assets]
|
||||||
end
|
end
|
||||||
module_function :session # rubocop:disable Style/AccessModifierDeclarations
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
||||||
|
|
||||||
module ExtraCollection
|
module ExtraCollection
|
||||||
|
|
||||||
|
module_function
|
||||||
|
|
||||||
def session( collections, assets, user )
|
def session( collections, assets, user )
|
||||||
|
|
||||||
# all ticket stuff
|
# all ticket stuff
|
||||||
|
@ -47,5 +50,4 @@ module ExtraCollection
|
||||||
end
|
end
|
||||||
[collections, assets]
|
[collections, assets]
|
||||||
end
|
end
|
||||||
module_function :session # rubocop:disable Style/AccessModifierDeclarations
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue