This commit is contained in:
Chris Blanchard 2015-08-01 16:33:40 +01:00
parent b0db658ef6
commit fc98dd3b65

View file

@ -15,7 +15,6 @@ class ShoutmsgsController < ApplicationController
def create
@shoutmsg = Shoutmsg.new params[:shoutmsg]
puts @shoutmsg
@shoutmsg.user = cuser
raise AccessError unless @shoutmsg.can_create? cuser