This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/controllers/orbit_frontend_component_co...

10 lines
248 B
Ruby
Raw Normal View History

class OrbitFrontendComponentController< ApplicationController
before_filter :setup_vars
2012-01-10 10:29:11 +00:00
before_filter {|c| c.front_end_available(@app_title)}
layout 'production'
def setup_vars
@app_title = request.fullpath.split('/')[2]
end
2012-01-10 10:29:11 +00:00
end