Skip to content

Commit

Permalink
checkin_link is readonly
Browse files Browse the repository at this point in the history
editing it results in errors
  • Loading branch information
salimhb committed Apr 26, 2021
1 parent d6d235a commit fc83d0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/models/concerns/rails_admin_config/for_area.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ module ForArea

included do
rails_admin do
configure :checkin_link do
fields :name, :id, :company, :tickets

field :checkin_link do
read_only true
end
fields :name, :id, :company, :tickets, :checkin_link
end
end
end
Expand Down

0 comments on commit fc83d0c

Please sign in to comment.