Commit e5a95c2a authored by Tobias Kallauke's avatar Tobias Kallauke
Browse files

valid_unti is valid_until now

parent d286482a
......@@ -4,7 +4,7 @@ class Group
include ActiveModel::Serializers::JSON
attr_accessor :name, :description, :created_at, :valid_unti, :type_of_group
attr_accessor :name, :description, :created_at, :valid_until, :type_of_group
def attributes=(hash)
......@@ -16,7 +16,7 @@ class Group
end
def attributes
{ 'name' => nil, 'description' => nil, 'created_at' => nil, 'valid_unti' => nil, 'type_of_group' => nil }
{ 'name' => nil, 'description' => nil, 'created_at' => nil, 'valid_until' => nil, 'type_of_group' => nil }
end
class << self
......
......@@ -3,5 +3,5 @@
<p>Name: <%= @group.name %></p>
<p>Beschreibung: <%= @group.description %></p>
<p>Erstellt: <%= @group.created_at %></p>
<p>Gültig bis: <%= @group.valid_unti %></p>
<p>Gültig bis: <%= @group.valid_until %></p>
</div>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment