mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 09:21:25 +00:00
Ooops
This commit is contained in:
parent
b0db658ef6
commit
fc98dd3b65
1 changed files with 0 additions and 1 deletions
|
@ -15,7 +15,6 @@ class ShoutmsgsController < ApplicationController
|
||||||
|
|
||||||
def create
|
def create
|
||||||
@shoutmsg = Shoutmsg.new params[:shoutmsg]
|
@shoutmsg = Shoutmsg.new params[:shoutmsg]
|
||||||
puts @shoutmsg
|
|
||||||
@shoutmsg.user = cuser
|
@shoutmsg.user = cuser
|
||||||
raise AccessError unless @shoutmsg.can_create? cuser
|
raise AccessError unless @shoutmsg.can_create? cuser
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue