Class: Spina::Admin::AdminController

Inherits:
Spina::ApplicationController show all
Defined in:
app/controllers/spina/admin/admin_controller.rb

Instance Method Summary collapse

Instance Method Details

#current_admin_pathObject



7
8
9
# File 'app/controllers/spina/admin/admin_controller.rb', line 7

def current_admin_path
  request.fullpath[%r{/#{ Spina.config.backend_path }(.*)}, 1]
end