gitprep / templates / user-keys.html.ep /
Newer Older
13 lines | 0.287kb
add ssh key add feature
gitprep authored on 2014-05-17
1
<%
2
  my $user = param('user');
do success xt tests
Yuki Kimoto authored on 2016-03-25
3
  
4
  warn param('user.keys');
5
  
add ssh key add feature
gitprep authored on 2014-05-17
6
  my $keys = app->dbi->model('ssh_public_key')->select(where => {user_id => $user})->all;
7
  my $keys_str = '';
8
  for my $key (@$keys) {
9
    $keys_str .= "$key->{key}\n";
10
  }
11
  $self->render(text => $keys_str);
12
  return;
13
%>