gitlabhq/app/contexts/base_context.rb

9 lines
184 B
Ruby
Raw Normal View History

class BaseContext
attr_accessor :project, :current_user, :params
def initialize(project, user, params)
@project, @current_user, @params = project, user, params.dup
end
end