summaryrefslogtreecommitdiff
path: root/app/controllers/pages_controller.rb
AgeCommit message (Collapse)Author
2026-06-25Rails 5.2 application fixeserdgeist
- Rename before_filter → before_action across all controllers - Fix string conditions in validators to lambda syntax (node.rb) - Fix publish_draft!: move staged slug/parent logic outside draft guard, use move_to_child_of for parent changes, add nil guard for no-op calls - Fix update_unique_names_of_children: use parent_id traversal instead of lft/rgt descendants (awesome_nested_set 3.x lft/rgt update bug) - Fix unique_path to return Array instead of String - Fix Occurrence.delete_all syntax for Rails 5 - Fix Page.find_with_outdated_translations: use includes instead of all - Fix outdated_translations?: use find instead of splat array
2009-09-06Marked Controllers private / public and added authorization filters accordinglyhukl
2009-09-04moved the image sorting into the model and wrapped it into a transactionhukl
2009-09-01Added javascript goodness to add and sort and drag and drop images on pageshukl
2009-06-13put the preview into the pages controller hukl
2009-02-27preparing deletion of the pages controller as we should not really need it because nodes act as proxy for dealing with pageshukl
2009-02-15* removed the auditing observer, we'll do it the old fashioned waysimon
* added permission model * locked down attributes on page model
2009-02-15* here comes da wicked sick auditing observer hacksimon
2009-01-31Added Page model scaffoldhukl