comfy / comfy-blog

Blog Engine for ComfortableMexicanSofa (Rails 5.2+)
MIT License
106 stars 86 forks source link

Added admin authorization in admin controllers. #58

Closed nickmealey closed 6 years ago

nickmealey commented 9 years ago

I found while using CanCan that I wasn't able to authorize controllers from within the blog. This calls an authorize method so that you're able to see if the current user has access to the blog.