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