Skip to content
Extraits de code Groupes Projets
Valider b10aedb6 rédigé par Maxwell Salzberg's avatar Maxwell Salzberg
Parcourir les fichiers

update the iframe route, fix a small styleing thing in newspaper style for iframe view

parent 90a2f055
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -194,7 +194,7 @@ article { //mood posts ...@@ -194,7 +194,7 @@ article { //mood posts
text-align: left; text-align: left;
.container { .container {
width: 600px; max-width: 600px;
} }
.photo_viewer { .photo_viewer {
......
...@@ -19,7 +19,7 @@ Diaspora::Application.routes.draw do ...@@ -19,7 +19,7 @@ Diaspora::Application.routes.draw do
match "/framer" => redirect("/posts/new") match "/framer" => redirect("/posts/new")
get 'p/:id' => 'posts#show', :as => 'short_post' get 'p/:id' => 'posts#show', :as => 'short_post'
get 'p/:id/iframe' => 'posts#iframe', :as => 'iframe' get 'posts/:id/iframe' => 'posts#iframe', :as => 'iframe'
# roll up likes into a nested resource above # roll up likes into a nested resource above
resources :comments, :only => [:create, :destroy] do resources :comments, :only => [:create, :destroy] do
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter