Added before_filter to orders controller