mirror of
https://github.com/neocities/neocities.git
synced 2025-08-06 01:24:56 +02:00
Initial checkin of project. Creates sites and goes to dashboard
This commit is contained in:
parent
d1d1d61f18
commit
b2bdf32275
26 changed files with 540 additions and 0 deletions
7
models/server.rb
Normal file
7
models/server.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class Server < Sequel::Model
|
||||
one_to_many :sites
|
||||
|
||||
def self.with_slots_available
|
||||
where{slots_available > 0}.first
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue