gitprep / templates / user-keys.html.ep /
Newer Older
14 lines | 0.305kb
add ssh key add feature
gitprep authored on 2014-05-17
1
<%
fix bug that ssh key is not ...
Yuki Kimoto authored on 2016-05-04
2
  my $user_id = param('user');
do success xt tests
Yuki Kimoto authored on 2016-03-25
3
  
fix bug that ssh key is not ...
Yuki Kimoto authored on 2016-05-04
4
  my $keys = app->dbi->model('ssh_public_key')->select(
remove table __ prefix
Yuki Kimoto authored on 2016-06-11
5
    where => {'user.id' => $user_id},
fix bug that ssh key is not ...
Yuki Kimoto authored on 2016-05-04
6
    append => 'order by title'
7
  )->all;
add ssh key add feature
gitprep authored on 2014-05-17
8
  my $keys_str = '';
9
  for my $key (@$keys) {
10
    $keys_str .= "$key->{key}\n";
11
  }
12
  $self->render(text => $keys_str);
13
  return;
14
%>