3063af5adc
Controllers refactoring with contexts Move commit compare logic to model
9 lines
184 B
Ruby
9 lines
184 B
Ruby
class BaseContext
|
|
attr_accessor :project, :current_user, :params
|
|
|
|
def initialize(project, user, params)
|
|
@project, @current_user, @params = project, user, params.dup
|
|
end
|
|
end
|
|
|