Sha256: 0691662d3aaa4bf0e7bd7783669b0d0a7447e037f54e1dee201aa106786cca49

Contents?: true

Size: 297 Bytes

Versions: 4

Compression:

Stored size: 297 Bytes

Contents

# client routes
module Sabisu
  # server class
  class Server
    get '/clients/:client' do
      haml :client, locals: { client: params[:client] }
    end

    get '/clients/:client/:check' do
      haml :client_check, locals: { client: params[:client], check: params[:check] }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sabisu-0.1.3 lib/sabisu/routes/client.rb
sabisu-0.1.2 lib/sabisu/routes/client.rb
sabisu-0.1.1 lib/sabisu/routes/client.rb
sabisu-0.1.0 lib/sabisu/routes/client.rb