Commit graph

7 commits

Author SHA1 Message Date
Rémy Coutable
50d7c356c2
Present member collection at the controller level
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-12 18:14:58 +01:00
http://jneen.net/
e5aad75a26 implement Presenter::Base#declarative_policy_delegate 2017-06-27 12:41:54 -07:00
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