RailsCasts Pro episodes are now free!

Learn more or hide this

Maxmillian Studener's Profile

GitHub User: maxstudener

Comments by Maxmillian Studener


I cant seem to find a good way to do access control on a published message. So i publish a message using https://github.com/railsware/smt_rails so rails and javascript can share a mustache file but i only want an edit or delete button on the message if you receive the publish and you are the creator. my question is how do you publish something that can use 1 template(mustache) that can do access control on both client and server side?