forked from zinc-collective/convene
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flushed out the plumbing for showing a trust
Next steps might include: create "New Payout" link Co-Authored-By: Zee <[email protected]> Co-Authored-By: JuanCarlosTC <[email protected]>
- Loading branch information
1 parent
3f75e19
commit 3ac7392
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<img src= "http://placekitten.com/200/300"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
class Tobias | ||
class TrustsController < FurnitureController | ||
expose :trust, model: Trust | ||
|
||
def show | ||
authorize trust | ||
end | ||
|
||
end | ||
class TrustPolicy < ApplicationPolicy | ||
def show? | ||
true | ||
end | ||
alias_method :entry, :object | ||
end | ||
end |