headstart 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/controllers/headstart/sessions_controller.rb +2 -1
- data/app/views/users/edit.html.erb +2 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.2
|
@@ -6,7 +6,8 @@ class Headstart::SessionsController < ApplicationController
|
|
6
6
|
filter_parameter_logging :password
|
7
7
|
|
8
8
|
def new
|
9
|
-
|
9
|
+
# Scopes: http://developers.facebook.com/docs/authentication/permissions
|
10
|
+
@oauth_url = MiniFB.oauth_url(Headstart.configuration.facebook_app_id, get_full_app_path + "/sessions/create", :scope=> "user_about_me, publish_stream, email") #MiniFB.scopes.join(",")
|
10
11
|
render :template => 'sessions/new'
|
11
12
|
end
|
12
13
|
|
@@ -1,6 +1,8 @@
|
|
1
1
|
<% content_for :title do %>Edit My Profile<% end %>
|
2
2
|
<h2>Edit My Profile</h2>
|
3
3
|
|
4
|
+
<%= image_tag avatar_url(@user) %>
|
5
|
+
|
4
6
|
<% form_for @user, :html => { :enctype => "multipart/form-data"} do |form| %>
|
5
7
|
<%= render :partial => '/users/form', :object => form %>
|
6
8
|
<%= form.submit 'Save', :disable_with => 'Please wait...' %>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: headstart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 2
|
10
|
+
version: 0.9.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bran Burridge
|