Module: Frontline::Actions
- Defined in:
- lib/frontline/actions.rb
Overview
actions to be used on all controllers
Instance Method Summary collapse
Instance Method Details
#get_assets ⇒ Object
9 10 11 12 |
# File 'lib/frontline/actions.rb', line 9 def get_assets(*) env['PATH_INFO'] = env['PATH_INFO'].to_s.sub(Frontline::ASSETS_REGEXP, '') send_files Frontline::ASSETS end |
#index ⇒ Object
5 6 7 |
# File 'lib/frontline/actions.rb', line 5 def index render end |