orbit-basic/app/controllers/obit_frontend_component_con...

10 lines
241 B
Ruby
Raw Normal View History

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