<%- end -%> app/views/home/index.html.erb class TimeTravelController < ApplicationController before_filter :ensure_time_travel_enabled def ensure_time_travel_enabled not_found unless time_travel_enabled? end end app/controllers/time_travel_controller.rb