Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `current_user #28

Closed
pfcfernandez opened this issue Mar 29, 2013 · 3 comments
Closed

undefined method `current_user #28

pfcfernandez opened this issue Mar 29, 2013 · 3 comments

Comments

@pfcfernandez
Copy link

I get this above when going to /blog any idea?

@Bodacious
Copy link
Owner

You'll have to define your own current_user method in application_controller.rb - sorry, I thought this was mentioned in the docs.

@pfcfernandez
Copy link
Author

oh cool makes sense just wanted to make sure. I am using refinerycms and I
think it comes with divise for auth and roles.. I dont want anyone to be
posting to the blog
just people flag with admin in the database, any recomendation/advice?

Thanks!

On Fri, Mar 29, 2013 at 3:17 AM, Gavin Morrice notifications@github.comwrote:

You'll have to define your own current_user method in *
application_controller.rb* - sorry, I thought this was mentioned in the
docs.


Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-15635091
.

Chris Fernandez
PlayFirst Operations/DevOps
Cloud/Migration Team

@schory
Copy link

schory commented Apr 2, 2014

Did you eventually find a solution for letting only some users create new blog posts?
Facing the same problems right now myself...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants