refactoring
This commit is contained in:
@@ -44,6 +44,9 @@ protected
|
||||
when "forum_posts"
|
||||
/^\/forum_topics/
|
||||
|
||||
when "uploads"
|
||||
/^\/post/
|
||||
|
||||
else
|
||||
/^\/#{controller}/
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user