Output active blocks list
This commit is contained in:
parent
9ec7e8c888
commit
f6572e3712
7 changed files with 37 additions and 14 deletions
|
@ -7,7 +7,10 @@ module Api
|
|||
|
||||
before_action :set_request_formats
|
||||
|
||||
def show; end
|
||||
def show
|
||||
@user_blocks = current_user.blocks.active.order(:id => :desc)
|
||||
@skip_reason = true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue