Changesets can be listed by changeset number.
The Git repository is here.
Changeset 116
Updated for use with HubSsoLib 0.1.0 (Changeset #113).
- Comitted by: adh
- Date: Friday October 27 16:02:22 2006 (over 18 years ago)
Affected files:
- rool/rails/i2/trunk/app/controllers/application.rb (diff)
- rool/rails/i2/trunk/app/views/versions/new.rhtml (diff)
rool/rails/i2/trunk/app/controllers/application.rb:
prev. | current | |
require 'hub_sso_lib' | ||
include HubSsoLib::Core | ||
7 | | |
7 | before_filter :hubssolib_beforehand | |
8 | after_filter :hubssolib_afterwards | |
protected | ||
def find_book | ||
... | ... | |
def default_url_options(options) | ||
options.reverse_merge!({ :book_url_name => @book ? @book.url_name : nil }) | ||
end | ||
17 | ||
19 | end |
rool/rails/i2/trunk/app/views/versions/new.rhtml:
prev. | current | |
<p> | ||
<%= submit_tag "Save" %> as | ||
17 | ||
17 | <% if hubssolib_privileged? -%> | |
<%= text_field_tag :author_name, @author_name %> | ||
<% else -%> | ||
<%= hidden_field_tag :author_name, @author_name %><b><%= @author_name %></b> |