On 4 February 2012 11:38, Richard l. <li...@ruby-forum.com> wrote:
> Hi
>
> I want my admin user to create news posts that are the viewed on the
> public News page. I was thinking that this could be achieved by having
> the admin user create "Blogs", but i only want the admin user to create
> these. Any ideas on how this can be achieved?

Without the slightest idea about any of your code it is impossible for
us to answer this other than to suggest that you only make the page
for creating blogs visible to admins and, when a request is made to
create one, check that the current user is an admin.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to