one must include the module to get the helpers
This commit is contained in:
parent
c358057b38
commit
9add780f36
6
README
6
README
@ -26,7 +26,11 @@ production:
|
|||||||
|
|
||||||
Facebooker2.load_facebooker_yaml
|
Facebooker2.load_facebooker_yaml
|
||||||
|
|
||||||
4. Update your rails applications to use the rails helpers. This could be in a
|
4. Add the following line to your app/controllers/application_controller.rb
|
||||||
|
|
||||||
|
include Facebooker2::Rails::Controller
|
||||||
|
|
||||||
|
5. Update your rails applications to use the rails helpers. This could be in a
|
||||||
shared login partial.
|
shared login partial.
|
||||||
|
|
||||||
<%= fb_connect_async_js %>
|
<%= fb_connect_async_js %>
|
||||||
|
Loading…
Reference in New Issue
Block a user