Add get_dynamic_content before filter to application controller