aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/line_footnotes_controller.rb
AgeCommit message (Collapse)Author
2017-11-28Refactoring move referentialSupport from chouetteController into childrensXinhui
2017-10-25Remove method build_breadcrumbXinhui
2017-07-13Update policies to make a custom behaviour on footnotes Refs #4094 @1Luc Donnet
2017-07-13Fix footnotes policy Refs #4094 @2Luc Donnet
2017-07-04Refs: #3478@2h Access correct referential in line_footnotes CtrlRobert
+ ApplicationController provides Pundit's UserContext's referential with `@referential` instead of `current_referential`, (`@referential` is computed from the URL, while `current_referential` was aliased to different methods, **not always** pointing to `Referential` instances) + ApplicationPolicy uses the record's referential in its `referential method` iff it is an instance of `Referential` else it uses the abovely provided referential, locally named `@current_referential` (as it should be named in the Ctrl too) This assures, in combination with the Ctrl Change, that `referential` **always** returns an instance of `Referential`! - TODO: Review my understanding of _Referential Setup_ inside the Ctrls
2017-04-19Refactoring vehicle_journeys#index permissions check using policyXinhui
Refs #3139
2017-03-24Fix LineFootnotesController# policy_checkXinhui
Refs #2944
2017-03-09Merge branch '2498_vehicle_journeys'Thomas Haddad
2017-02-15Wip line_footnotes#show json formatXinhui
2017-02-15Refs #2521: WIP footnotes api for vehicle journey footnotesThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-07Refs #2476 : Disable modification and deletion of resources from another ↵Vlatka Pavisic
referential; in progress
2017-01-23Refs #2428 #2427 : User permissionsVlatka Pavisic
2016-11-28LineFootnotes#showXinhui
2016-11-28LineFootnotesControllerXinhui
Refs #2036