Commit graph

5 commits

Author SHA1 Message Date
Rémy Coutable
68e94450a0
Raise Gitlab::View::Presenter::CannotOverrideMethodError if presentee already respond to method
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-25 12:14:02 +01:00
Rémy Coutable
0ac65b6cc3 Don't override presentee methods for Gitlab::View::Presenter::Delegated
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-24 10:24:47 +01:00
Rémy Coutable
061bb6eb6e More improvements to presenters
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-18 16:38:35 +01:00
Rémy Coutable
e5a29b4514 Improve presenter factory
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-18 16:38:34 +01:00
Rémy Coutable
bf789ff567 Improve presenter architecture
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-18 16:38:34 +01:00