created breadcrumb
This commit is contained in:
@@ -2,4 +2,5 @@ class ApplicationController < ActionController::Base
|
||||
# Prevent CSRF attacks by raising an exception.
|
||||
# For APIs, you may want to use :null_session instead.
|
||||
protect_from_forgery with: :exception
|
||||
|
||||
end
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
class ServersController < ApplicationController
|
||||
|
||||
|
||||
active_scaffold :server do |conf|
|
||||
conf.columns = [:name, :operating_system]
|
||||
conf.columns[:operating_system].form_ui = :select
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user