Skip to content

Instantly share code, notes, and snippets.

# Three things to add:
# * before_filter call
# * action_has_layout? method (if you have one, combine them)
# * adjust_for_inline
#
class ApplicationController < ActionController::Base
# ...
before_filter :adjust_for_inline
@hughevans
hughevans / gist:3082625
Created July 10, 2012 10:47 — forked from mtcmorris/gist:3082609
20 top films in the past 5 years
The Artist
Senna
Hanna
Headhunters (Hodejegerne)
The Help
Best Exotic Marigold Hotel
District 9 <- Fookin’ prawns!
Crazy Stupid Love
The Social Network
Black Swan