Skip to content

Instantly share code, notes, and snippets.

@susieyy
Created May 14, 2009 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save susieyy/111628 to your computer and use it in GitHub Desktop.
Save susieyy/111628 to your computer and use it in GitHub Desktop.
Here is what I propose for hooks in views:
view_[path_to_the_view]_[position_in_view]
Examples:
view_layouts_base_html_head -- the only one that was committed
view_issues_show_details_bottom
view_issues_list_table_header
view_issues_list_table_row
...
controller_[controller_name]_[action]_[position]
controller_issues_show_index
controller_issues_edit
controller_issues_edit_post # For after `if request.post?`, when saving.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment