class AdminIt::EditContext

Public Class Methods

entity_path?() click to toggle source
# File lib/admin_it/context/single_context.rb, line 214
def self.entity_path?
  true
end
path(entity) click to toggle source
# File lib/admin_it/context/single_context.rb, line 204
def self.path(entity)
  AdminIt::Engine.routes.url_helpers.send(
    "edit_#{resource.name}_path", entity
  )
end
save_action() click to toggle source
# File lib/admin_it/context/single_context.rb, line 210
def self.save_action
  :update
end

Protected Class Methods

default_icon() click to toggle source
# File lib/admin_it/context/single_context.rb, line 221
def default_icon
  'pencil'
end