module Frontline::Actions

actions to be used on all controllers

Public Instance Methods

get_assets(*) click to toggle source
# 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() click to toggle source
# File lib/frontline/actions.rb, line 5
def index
  render
end