Skip to content

Commit d0472e3

Browse files
ChloeVanderZwanzspencerJuanCarlosTC
committed
Flushed out the plumbing for showing a trust
Next steps might include: create "New Payout" link Co-Authored-By: Zee <50284+zspencer@users.noreply.github.com> Co-Authored-By: JuanCarlosTC <153764163+juancarlostc@users.noreply.github.com>
1 parent 8fda161 commit d0472e3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<img src= "http://placekitten.com/200/300">
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
class Tobias
22
class TrustsController < FurnitureController
3+
expose :trust, model: Trust
34

45
def show
6+
authorize trust
57
end
68

79
end
10+
class TrustPolicy < ApplicationPolicy
11+
def show?
12+
true
13+
end
14+
alias_method :entry, :object
15+
end
816
end

0 commit comments

Comments
 (0)