OSDN Git Service

Remove redundant access check for Issues#destroy
authorRobert Speicher <rspeicher@gmail.com>
Fri, 10 Aug 2012 22:51:07 +0000 (18:51 -0400)
committerRobert Speicher <rspeicher@gmail.com>
Sun, 16 Sep 2012 14:06:29 +0000 (10:06 -0400)
commit8cfb197dfcad3aa0c11f7afd34e4c7bfef953d1d
treee2dfa88831e0e806c810f5e7979595a91fbd25a5
parenta0893b4d58a6162743b325efe0f93b1b957e8a0a
Remove redundant access check for Issues#destroy

We were already calling `authorize_admin_issue!` in a before filter with
the same permission checks, so this deleted check wasn't actually doing
anything.
app/controllers/issues_controller.rb