Which code sample will skip running the login_required "before" filter on the get_posts controller action?

Question:Which code sample will skip running the login_required "before" filter on the get_posts controller action?

1.Before_action :login_required, skip: [:get_posts]

2.Skip_before_action :login_required, except: [:get_posts]

3.Skip_before_action :login_required, only: [:get_posts]

4.Skip_action before: :login_required, only: [:get_posts


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!